JavaScript Jabber cover image

React Component and State Management - JSJ 526

JavaScript Jabber

00:00

Using React to Test React Component Functions

In previous episodes, we spoke about how react uses vidom to abdate the actual browser dom using a process called reconciliation. In practice it gets more complicated because react needs to enable components to maintain and manage their own private state. So what you really want to do is you want to have component level, or component instance, instance level, private state. But how do you achieve that? Well, if you think about it from the perspective of java scrypte language, and it's a language which supports object oriental programming, the obvious answer would be to put it inside objects.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app