4 ms·
Are all the hooks on the site made by ui.dev? It'd be great if each hook linked to the Github code for that hook, as the first thing I thought of was (a) what
by morley 3y ago
Are all the hooks on the site made by ui.dev?
It'd be great if each hook linked to the Github code for that hook, as the first thing I thought of was (a) what is the hook doing, and (b) is it easier to adapt my existing hook and reduce the number of dependencies I have to track?
- benadam11 3y agohttps://github.com/uidotdev/usehooks/blob/main/index.js https://github.com/uidotdev/usehooks/blob/main/index.js
- tylermcginnis 3y agoGood feedback. Yes they're all up on Github – https://github.com/uidotdev/usehooks https://github.com/uidotdev/usehooks
- psnehanshu 3y agoI haven't tried the package yet, but at first glance it is missing the .d.ts file. Is this package type safe?
- jackdh 3y agoLeft another main comment, however you may not see it, where is useLocalStorage implementation for example?