React Hooks are a neat and concise way of creating stateful components as functional components. Though they differ a bit from class components and its lifecycle methods they try to achieve the same results as its classful implementation. The most basic hooks that you want to learn first are the useState and the useEffect hook. useState hook is synonymous with the state object in the class component while useEffect helps in achieving the lifecycle functionality provided by class components. Read more about hooks here
Alternatively, you can check out this project. It's a searchable movie app completely made using React Hooks.
How’s it going, I'm a Adam, a Full-Stack Engineer, actively searching for work. I'm all about JavaScript. And Frontend but don't let that fool you - I've also got some serious Backend skills.
Location
City of Bath, UK 🇬🇧
Education
10 plus years* active enterprise development experience and a Fine art degree 🎨
React Hooks are a neat and concise way of creating stateful components as functional components. Though they differ a bit from class components and its lifecycle methods they try to achieve the same results as its classful implementation. The most basic hooks that you want to learn first are the
useState
and theuseEffect
hook.useState
hook is synonymous with the state object in the class component whileuseEffect
helps in achieving the lifecycle functionality provided by class components. Read more about hooks hereAlternatively, you can check out this project. It's a searchable movie app completely made using React Hooks.
Thanks that's really helpful!
Thank you!!