Skip to content
This repository was archived by the owner on Sep 14, 2023. It is now read-only.

v3.0.0

Choose a tag to compare

@derrickbeining derrickbeining released this 24 Nov 02:37
· 104 commits to master since this release

3.0.0 (2018-11-24)

Features

  • rename deref useAtom; add non-hook deref; select option (f714acc)

BREAKING CHANGES

  • deref is no longer a custom React hook and therefore function components that
    call it will no longer be subscribed to the Atom's state. deref now only reads Atom state and is
    therefore useful for reading Atom state from outside function components. The previous behavior of
    deref is now available in the useAtom function, which is a custom React hook.