Search a title or topic

Over 20 million podcasts, powered by 

Player FM logo
Artwork

Content provided by Aurooba and Brian, Aurooba Ahmed, and Brian Coords. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Aurooba and Brian, Aurooba Ahmed, and Brian Coords or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://podcastplayer.com/legal.
Player FM - Podcast App
Go offline with the Player FM app!

Managing State in React

30:07
 
Share
 

Manage episode 362120969 series 3440550
Content provided by Aurooba and Brian, Aurooba Ahmed, and Brian Coords. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Aurooba and Brian, Aurooba Ahmed, and Brian Coords or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://podcastplayer.com/legal.

Aurooba and Brian are back with the series on building with React inside WordPress! In this episode, they dive into how state works in React and why ternary expressions are more common in JavaScript than they are in PHP. They break down the code of the accordion they've been building in React over the course of this series, focussing on exactly how it manages which item stays open or closed.

A full transcript of the episode is available on the website. Watch the video podcast on YouTube and subscribe to our channel and newsletter to hear about episodes (and more) first!

  • (00:00) - Introduction
  • (00:25) - Recap of where we are in the React series
  • (02:03) - Rerenders in React
  • (06:39) - What is state in React?
  • (10:40) - The expand() function
  • (14:30) - How a ternary expression works
  • (16:55) - Why are ternary expressions more common in JavaScript?
  • (20:33) - Where it makes sense to use a ternary experession
  • (26:09) - What's next?
  • (27:28) - Taking the editing experience into account when making a block
  continue reading

36 episodes

Artwork

Managing State in React

viewSource

published

iconShare
 
Manage episode 362120969 series 3440550
Content provided by Aurooba and Brian, Aurooba Ahmed, and Brian Coords. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Aurooba and Brian, Aurooba Ahmed, and Brian Coords or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://podcastplayer.com/legal.

Aurooba and Brian are back with the series on building with React inside WordPress! In this episode, they dive into how state works in React and why ternary expressions are more common in JavaScript than they are in PHP. They break down the code of the accordion they've been building in React over the course of this series, focussing on exactly how it manages which item stays open or closed.

A full transcript of the episode is available on the website. Watch the video podcast on YouTube and subscribe to our channel and newsletter to hear about episodes (and more) first!

  • (00:00) - Introduction
  • (00:25) - Recap of where we are in the React series
  • (02:03) - Rerenders in React
  • (06:39) - What is state in React?
  • (10:40) - The expand() function
  • (14:30) - How a ternary expression works
  • (16:55) - Why are ternary expressions more common in JavaScript?
  • (20:33) - Where it makes sense to use a ternary experession
  • (26:09) - What's next?
  • (27:28) - Taking the editing experience into account when making a block
  continue reading

36 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Copyright 2025 | Privacy Policy | Terms of Service | | Copyright
Listen to this show while you explore
Play