The React Show cover image

React FAQ

The React Show

00:00

React Scripting

The state is closed over. That's like a fancy computer sciency term to essentially mean that the state that you see, you know, once your component starts rendering, is forever going to b the state that everything that executes in that component sees. The way that this works is it just looks for, hay, what was the value when this component was rendered? And actually, i really like it because it makes your render more predictable. This sounds weird, because you're like, howis that more predictable?

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