WebDevSimplified / useful-custom-react-hooks

1.95k stars 687 forks source link

Turn this repo into an npm package #14

Closed niemenjoki closed 3 years ago

niemenjoki commented 3 years ago

I think these hooks could be useful as a simple npm package people could use easily in their projects. What do you think @WebDevSimplified? Just close this issue if you don't think it's a good idea, I don't mind.

The example components you've made for each hook could easily be used as test components for unit tests, and then all we need is some simple documentation. I would be glad to contribute.

WebDevSimplified commented 3 years ago

Most of these hooks are either already in larger hook based libraries or too small to warrant their own library. My main idea with this repo is to give people ideas where they can pick and choose which hooks fit their needs best instead of just using all the hooks in a library.