Releases: imbhargav5/rooks
Releases · imbhargav5/rooks
Release notes
🎉 New custom hook useCountdown
added.
Updates and bug fixes
- Fix types for useOutsideClickRef
- Internal fixes
New features, bug fixes and better support for intellisense
We fixed numerous bugs and added features in this release.
Some of them are as follows:
- Critical bug with useKey with refs not detected was fixed
useWindowSize
now returnsinnerHeight
,innerWidth
,outerHeight
andouterWidth
. It no longer returnsheight
andwidth
which were ambiguous.useWorker
has a new signature.useInterval
had issues withuseState
which have been resolvedusePrevious
has a much simpler implementation usinguseRef
typescript
types have been added to all the hooks for typechecking and intellisense- Storybook website has been added
- Uniform major package version for all packages. It makes development easier and it also helps tracking compatibility. We moved to v3 since some packages were on v2 and some were on v1.