loading...

React Tldr; 5 Tips to Help You Avoid React Hooks Pitfalls

maniekm profile image Mariusz Updated on ・1 min read
  • Read React Hooks documentation and FAQ before you start.
  • Install, use, and follow the ESLint plugin.
  • Don't think about Lifecycles, think about synchronizing side effects to state.
  • Know that React is fast by default and do some digging before applying performance optimizations pre-maturely.
  • Avoid testing implementation details.

Source: https://kentcdodds.com/blog/react-hooks-pitfalls

Discussion

markdown guide