-
Sure here's the docs for custom hooks. And here are many examples of custom hooks for data fetching/storing/syncing, theme switching, resize, etc. Basically it abstracts away the how and just gives you the data. awesome hooks
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Recoil
Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.
The most common ones are redux and react context but there are newer stores that are not dependent on react like recoil, jotai, zustand (<1kb) and many more. Each has different APIs and community/resources. So you can use what feels the easiest to understand.
-
The most common ones are redux and react context but there are newer stores that are not dependent on react like recoil, jotai, zustand (<1kb) and many more. Each has different APIs and community/resources. So you can use what feels the easiest to understand.