Simple authentication provider and utils using React and Pocketbase
// with npm
npm i react-pocketbase-authentication
// with yarn
yarn add react-pocketbase-authentication
import { AuthProvider, useAuthentication, ... } from 'react-pocketbase-authentication';
<AuthProvider client={yourPocketbaseClient} ...>
...
const { isAuthenticated, user, ... } = useAuthentication();