3 ms·
How do these compare with the current heavyweight library? https://github.com/streamich/react-use https://github.com/streamich/react-use
by bottlepalm 3y ago
How do these compare with the current heavyweight library?
https://github.com/streamich/react-use https://github.com/streamich/react-use
- tylermcginnis 3y agoFrom what I've been able to tell, that lib is unmaintained and one of the original authors left and created this – https://github.com/react-hookz/web https://github.com/react-hookz/web. A lot of older hook libs "break the rules" of React by doing some weird stuff like silencing useEffects deps array, reading refs in render, etc. We tried to avoid that so useHooks will be future proof.