Releases: imbhargav5/rooks
Releases · imbhargav5/rooks
rooks@7.1.2-alpha.0
Patch Changes
- #1408
fec6932b
Thanks @belgattitude! - Restore support for es2017 in dist files
rooks@7.1.1
Patch Changes
- bea1dda: fix isNumber import in usetimeTravelState
rooks@7.1.0
Minor Changes
- 0dc2004: New hook! useTimeTravelState hook added which can undo and redo a state variable seamlessly.
rooks@7.0.0
Major Changes
- ae9a465: useFullscreen hook rewrite
-
Before:
const { element, exit, isEnabled: Boolean(document[fullscreenControls.fullscreenEnabled]), isFullscreen, //@deprecated onChange, //@deprecated onError, request, toggle, } = useFullscreen({ onChange, onError, options, });
-
After
const { isFullscreenAvailable, isFullscreenEnabled, fullscreenElement, enableFullscreen, disableFullscreen, toggleFullscreen } = useFullscreen({ target?: HTMLElement, onChange: () => {}, onError: (error) => {}, options : fullscreenoptions })
-
Patch Changes
rooks@7.0.0-alpha.2
Patch Changes
- 886a672: Make useKey target option support undefined
rooks@7.0.0-alpha.1
Patch Changes
- b2003b8: bundle size decrease
rooks@6.4.3
Patch Changes
- 140fcea: fix dependency checking in useAsyncEffect
rooks@7.0.0-alpha.0
Major Changes
- 9ca2be6: useFullscreen hook rewrite
-
Before:
const { element, exit, isEnabled: Boolean(document[fullscreenControls.fullscreenEnabled]), isFullscreen, //@deprecated onChange, //@deprecated onError, request, toggle, } = useFullscreen({ onChange, onError, options, });
-
After
const { isFullscreenAvailable, isFullscreenEnabled, fullscreenElement, enableFullscreen, disableFullscreen, toggleFullscreen } = useFullscreen({ target?: HTMLElement, onChange: () => {}, onError: (error) => {}, options : fullscreenoptions })
-
rooks@6.4.2
Patch Changes
- 47e847a: bugfix: window (or document) is not defined when using ssr
rooks@6.4.1
Patch Changes
- 19b280f: decrease bundle size