React Hooks

Notes and resources for react hooks patterns.



  • Constate A simple lib that exports one function called createUseContext, which allows using local state or global state interchangeably with a hook. Push local state to global context. Link
  • React Combine Provider Name is pretty self explanatory — combine providers. Wouldn’t actually use this lib, but can reference the single file in the lib, a reduce function which combines providers. Link
  • react-fetching-library An interesting lib for abtracting data fetching in react. Maybe not necessary to use, but worth referencing. Kind of like appolo client. Link
  • React Async - a hooks-based library which abstracts away asynchronous operations. Reference this file for a great example of async in react. Link
Last modified: August 31, 2019
© 2023