News for hackers. Stuff that matters.
Re:UseHooks – A Collection of Server Component Safe React Hooks by benatkin on Tuesday May 30, 2023 @04:17PM (#36130122)
Was this inspired at all by VueUse? After the windicss/tailwind and Remix/Next.js scuffles it's become clear that it's good to get acknowledgement.

Either way, I hope it's as well documented and well maintained as VueUse. That has been pretty sweet. I wanted something like it for React a few months ago and useHooks was the closest thing I found but not nearly as good. Hopefully this relaunch will be.

Re:UseHooks – A Collection of Server Component Safe React Hooks by tylermcginnis on Tuesday May 30, 2023 @04:34PM (#36130367)
I've never heard of VueUse (though I'm sure it's great). The original useHooks was released in January of 2019.
Re:UseHooks – A Collection of Server Component Safe React Hooks by benatkin on Tuesday May 30, 2023 @04:47PM (#36130528)
Yeah, I figured useHooks was created without knowing about VueUse, but thought the useHooks maintainer(s) might have become aware of it sense then. It makes sense, because though the code is heading in the direction of VueUse in terms of being maintained and well rounded, the structure of useHooks is quite a bit different. VueUse has the code alongside the Markdown: https://github.com/vueuse/vueuse/tree/main/packages/integrat...