Comments (3)
Hi @selvinkuik, I've just added your Eslint rules and I have a ton of new errors, good catch! Thank you for the opportunity to increase useHooks's quality.
I will fix it, and I'm come back to you with the useLocalStorage()
hook updated.
from usehooks-ts.
Hi @selvinkuik, you can try this version from the develop branch.
from usehooks-ts.
Deployed
from usehooks-ts.
Related Issues (20)
- [BUG] `useResizeObserver` mutate initialSize globally HOT 3
- [BUG] useScrollLock doesn't work in ios safari HOT 1
- useDarkMode resets HOT 5
- [BUG] useLocalStorage hook's option param is missing HOT 1
- [BUG] useScrollLock - Do not leave inline styles if they weren't present before the lock HOT 2
- [BUG] useWindowSize does not trigger on orientation change
- [BUG]
- Add support for "focusin" for `useOnClickOutside` hook HOT 1
- Examples first, then API docs HOT 2
- useScrollLock doesn't work as intended [BUG]
- [BUG] useEventListener can be used with SVGElement, but rejected by type-check
- [BUG] useLocalStorage's setValue should be callable in render phase (like a normal `useState`) HOT 6
- [BUG] - useOnClickOutside cannot be trigged during capture phase HOT 1
- [BUG] TernaryDarkMode type is no longer exported
- #574
- Where can I find the changelog? HOT 1
- [BUG] If using useInterval with setState, and setState returns the same value, memory leaks HOT 2
- Suggest note to prefer useWindowSize over useScreen in docs
- Suggest update some script in 'CONTRIBUTING.md'
- [BUG] Compatibility with React v19 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from usehooks-ts.