1
I’m venturing into the world of React and I realize that now there are Hooks.
I would like to understand:
- What was the need to implement this Feature; and:
- What would be the advantage of using Hooks instead of state?
1
I’m venturing into the world of React and I realize that now there are Hooks.
I would like to understand:
-1
When the Hooks arrived, I was a little confused about the motivations for a Feature that would change a lot the way we use React, and that link was the watershed to really understand how to use the Hooks.
Browser other questions tagged react
You are not signed in. Login or sign up in order to post.
I recommend you look at this site: https://pt-br.reactjs.org/docs/hooks-intro.html
– Victor
If you can hear in English, I recommend this talk from the React team introducing the concept of Hooks. https://www.youtube.com/watch?v=dpw9EHDh2bM
– Rodrigo Amaral
I think you could change "instead of state" to "instead of classes", given that the Hooks allow you to use resources such as the.
– Luiz Felipe