JavaScript Jabber cover image

The React Way & Opinionated Practices with Ian Schwartz - JSJ 488

JavaScript Jabber

00:00

Is There a Transpiler?

The y use effect was confusing to me and us, you state use effect were confusing to me. At first i thought it must be managed by the transpiler. The transpiler must be rewriting the function and then inserting some sort of state object in a similar way that's been done in some of the test library. But it turns out, rather than calling the your function, all your components are functions. And when you call us effect or ou state, it operates on the current index in the state stack. Which is not a normal way to go about things. It's kind of a hack, but it's hack that hides this ness from the user so that it

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