AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
React - What Are the Things You Shouldn't Consider Anymore?
Hooks are really the newli at all kind of collection of a p is in react. And right now the happy path is you just do function style components. So it's just a function that raps uno react element. Now, when you want to do things like you don't connect the data, or have some kind of side effect where you maybe change a class outside of your reactap in the dom, which which weh talked about earlier, using state. All these kinds of things are now wrapped up in hooks. You can get very far without even having to learn the other the class style and kind of all the resulting methods of composing components out of that.