Skip to content

Releases: imbhargav5/rooks

rooks@7.1.2-alpha.0

11 Sep 08:05
0581612
Compare
Choose a tag to compare
rooks@7.1.2-alpha.0 Pre-release
Pre-release

Patch Changes

rooks@7.1.1

05 Sep 19:09
ab9089f
Compare
Choose a tag to compare

Patch Changes

  • bea1dda: fix isNumber import in usetimeTravelState

rooks@7.1.0

05 Sep 18:50
34bf177
Compare
Choose a tag to compare

Minor Changes

  • 0dc2004: New hook! useTimeTravelState hook added which can undo and redo a state variable seamlessly.

rooks@7.0.0

01 Sep 11:16
10f1ba5
Compare
Choose a tag to compare

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

  • b2003b8: bundle size decrease
  • 886a672: Make useKey target option support undefined

rooks@7.0.0-alpha.2

01 Sep 10:31
df2cd8f
Compare
Choose a tag to compare
rooks@7.0.0-alpha.2 Pre-release
Pre-release

Patch Changes

  • 886a672: Make useKey target option support undefined

rooks@7.0.0-alpha.1

19 Aug 20:50
dca3ad9
Compare
Choose a tag to compare
rooks@7.0.0-alpha.1 Pre-release
Pre-release

Patch Changes

rooks@6.4.3

17 Aug 13:22
8970340
Compare
Choose a tag to compare

Patch Changes

  • 140fcea: fix dependency checking in useAsyncEffect

rooks@7.0.0-alpha.0

17 Aug 12:58
4b8f278
Compare
Choose a tag to compare
rooks@7.0.0-alpha.0 Pre-release
Pre-release

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

11 Aug 09:58
c394747
Compare
Choose a tag to compare

Patch Changes

  • 47e847a: bugfix: window (or document) is not defined when using ssr

rooks@6.4.1

10 Aug 04:54
9b2a53f
Compare
Choose a tag to compare

Patch Changes