1.6.0 • Published 1 year ago

react-pocketbase-authentication v1.6.0

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

react-pocketbase-authentication

Simple authentication provider and utils using React and Pocketbase

Install

// with npm
npm i react-pocketbase-authentication

// with yarn
yarn add react-pocketbase-authentication

Usage

import { AuthProvider, useAuthentication, ... } from 'react-pocketbase-authentication';

<AuthProvider client={yourPocketbaseClient} ...>
...
const { isAuthenticated, user, ... } = useAuthentication();
1.6.0

1 year ago

1.5.0

1 year ago

1.4.0

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago