DEV Community

Mariusz
Mariusz

Posted on • Edited on

1

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

  • 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

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more