github nhost/nhost @nhost/react-auth@3.0.0

latest releases: @nhost/nextjs@2.1.21, @nhost/dashboard@1.28.2, @nhost/dashboard@1.28.1...
2 years ago

Major Changes

  • 744fd69: Use @nhost/react instead of @nhost/react-auth
    This major release allows to use the latest Nhost authentication state mechanism. It wraps and exports NhostReactProvider as NhostAuthProvider and useNhostAuth from @nhost/react.

    In order to use it, you need to install @nhost/react as it is now a peer dependency:

    npm install @nhost/react
    # or
    yarn add @nhost/react
    

    It is however recommended to switch to @nhost/react and to remove this package from your dependencies.

Minor Changes

  • 744fd69: Unify vanilla, react and next APIs so they can work together
    React and NextJS libraries now works together with @nhost/nhost-js. It also means the Nhost client needs to be initiated before passing it to the React provider.
    See the React and NextJS configuration documentation for additional information.

Don't miss a new nhost release

NewReleases is sending notifications on new releases.