ideas
ideas copied to clipboard
Why not include the react-use library by streamich?
Looks to me like the streamich react-use
hooks library is pretty awesome and the documentation (using storybook js) is beautiful, with demos, docs, and source code. Its been around for quite a while and has 16K stars..
Now, my coworker needed a debounce
hook the other day and he used the one referenced on your readme because it was just one hook. Ergo, I do see the potential here for adding new hooks as well as being able to install each one of these individually instead of as a library but I still think its worth a mention it in your docs with a link to it or something?
That said, modern libraries like lodash have deprecated support (deprecated now and will be removed in v5) for installing individual functions because they often end up causing a larger build if you use more than one due to how each module has its own dependencies bundled up with it. Further, modern tree-shaking bundlers such as webpack can avoid bundling code you don't use or need. So, perhaps mentioning a library that already has many similar hooks is useful.
Either way, love awesome-react-hooks
collection and thanks so much for aggregating this and for all those who write these hooks. Also, love the idea of a monorepo
Links for react-use: