News for hackers. Stuff that matters.
Re:UseHooks – A Collection of Server Component Safe React Hooks by morley on Tuesday May 30, 2023 @04:06PM (#36129957)
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?

Re:UseHooks – A Collection of Server Component Safe React Hooks by benadam11 on Tuesday May 30, 2023 @04:13PM (#36130056)
Re:UseHooks – A Collection of Server Component Safe React Hooks by tylermcginnis on Tuesday May 30, 2023 @04:14PM (#36130074)
Good feedback. Yes they're all up on Github – https://github.com/uidotdev/usehooks
Re:UseHooks – A Collection of Server Component Safe React Hooks by psnehanshu on Tuesday May 30, 2023 @11:02PM (#36134012)
I haven't tried the package yet, but at first glance it is missing the .d.ts file. Is this package type safe?
Re:UseHooks – A Collection of Server Component Safe React Hooks by jackdh on Wednesday May 31, 2023 @03:29AM (#36135523)
Left another main comment, however you may not see it, where is useLocalStorage implementation for example?