react-pocketbase-authentication
TypeScript icon, indicating that this package has built-in type declarations

1.6.0 • Public • Published

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();

Readme

Keywords

none

Package Sidebar

Install

npm i react-pocketbase-authentication

Weekly Downloads

0

Version

1.6.0

License

none

Unpacked Size

6.75 kB

Total Files

12

Last publish

Collaborators

  • st-angelo