DEV Community

Discussion on: The React Cheatsheet for 2020 📄 (+ Real-World Examples)

Collapse
 
glinkot profile image
glinkot

Super useful. Couple of items that would be nice to include:

  • The fact custom hooks have to start with 'use'. I was scratching my head a couple of days ago wondering how they differed from other functions
  • Some examples of passing arguments up through events/handlers in subcomponents. How those should be names is something I'm still working out and would be great in a cheatsheet.

Thanks again!