usehooks
usehooks copied to clipboard
A collection of modern, server-safe React hooks – from the ui.dev team
I can create the meta info if you give the go ahead to add this hook
This could be used for storing a dictionary on a key in local storage. It is built upon your useLocalStorageHook. Note the effect which updates the exposed value when the...
Hello, thank you so much for the site! I'm finding it very useful. I was reviewing the useFirestoreQuery and noticed that none of the imports were identified for each file....
Save our eyes. And batteries. https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
Hi, made two simple hooks that could be useful that can be used with React Query to handle loading App loading and Page loading useApploading : show loading screen one...
In the `useLocalStorage` hook Typescript example, an explicit type is required for the function in order to be able to use the tuple correctly: `[T, (value: T | ((val: T)...
I stumbled upon the post "[I turned some browser event APIs into React hooks.](https://www.reddit.com/r/reactjs/comments/jd7dus/i_turned_some_browser_event_apis_into_react_hooks/)" by [Charles Stover](https://github.com/CharlesStover) on Reddit. - [use-ctrl-key](https://www.npmjs.com/package/use-ctrl-key): Listen to if the Ctrl key is pressed. `const...
Hey man, looks like you have your hands full with all these issues. Just wanted to reach out a hand of support for any pending issues as well as convey...