DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 967,911 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for πŸ’œ A collection to learn React Hooks! 🎣
Niall Maher
Niall Maher

Posted on

πŸ’œ A collection to learn React Hooks! 🎣

Hey all, over the past few weeks I've been doing a React Hooks series on my YouTube so thought I would share them with you in case there is any particular area you are struggling to understand. Feel free to ask questions here or in the comments on the videos.

  1. An Introduction to React Hooks - Classes versus Hooks

  2. useState

  3. useEffect

  4. useReducer

  5. Context and useContext

  6. Custom Hooks by example

This was my first playlist so happy to hear your thoughts. πŸ’œ


Follow me on Twitter

Subscribe on CodΓΊ Community

Top comments (4)

Collapse
 
attkinsonjakob profile image
Jakob Attkinson • Edited on

Maybe my comment has no place here, but as someone that's learning react and has never dealt with hooks previously I would have loved if the first video would have answered the "what are hooks?" question before dealing the reasons behind the "why hooks?".

P.S. Sometimes newcomers (myself included) use "elements" (i.e. hooks) without even bothering to label 'em. As a result, one might be familiar with hooks without even knowing.

Collapse
 
nialljoemaher profile image
Niall Maher Author

Nice, yes makes sense!

The first video kind of covers that. I actually changed the name because I got so much stick over calling it an intro to hooks. Maybe I didn't do a good enough explanation on the "what".

This is great feedback so thank you! πŸ’œ

Collapse
 
ancizj profile image
Nancy Zitle • Edited on

thanks for sharing this series about hooks, you help me to understand them, but I still have some doubts about useReduce and useContext, but I suppose all is practice, thanks again!

Collapse
 
nialljoemaher profile image
Niall Maher Author

Don't be afraid to ask questions too! I know when I started with React and global state I really struggled.

🌚 Browsing with dark mode makes you a better developer.

It's a scientific fact.