/react-hooks-cheatsheet

πŸ¦– React hooks cheatsheet with live editable examples

Primary LanguageJavaScript

A Cheatsheet with live editable examples πŸ’ͺ

  • A one-stop reference for the React hooks APIs
  • Doesn't replace the official docs.
  • However, it contains actual code examples each mimicking all APIs of hooks.
  • Contains some real world examples of cases / issues you'll likely run into
  • Most importantly, the cheatsheet contains live editable codes.



Examples

  • includes live examples πŸ™‹β€

πŸ‘‰πŸΏπŸ‘‰πŸΏπŸ‘‰πŸΏ Get Started

Todos

  • Add example call signatures to all hooks
  • Add more examples that explain interesting use cases from the official Hooks FAQ

Contributing

Contributions of any kind are welcome. If you wanna knock off any of the todos above, please feel free to issue a PR. Got an interesting idea for the cheatsheet? Issue a PR :)