const App = () => {
const [state, setState] = useStorage('my-key', { a: 1, b: 2, c: 3 });
useEffect(() => {
setState(...);
}, [...deps]);
console.log('state', state);
return null;
};
-
Notifications
You must be signed in to change notification settings - Fork 0
A hook for having faster localStorage for React apps π¨π»ββοΈ
License
alirezavalizade/use-none-blocking-local-storage
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Repository files navigation
About
A hook for having faster localStorage for React apps π¨π»ββοΈ
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published