The React Show cover image

React Component Lifecycle, What is a Component?

The React Show

00:00

Using Reacto Forms, You Can't Use, Use State

Hooks are lower level than those life cycle methods, whereas my brain is three levels higher. I find it incredibly rare that i need to access the previous props or state. You can make a hook till i sort of do all that for you, but it's not done. Am, and i'd like with use effect, you like you're lek ok, i conditionally, i want to run this effect on this thing. And then you have to create these preve props, or preve state with a use previous hook, and then do all these comparisons withim there. It's weird.

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