@atelo-co/formless
v1.6.1
Published
(work with nextjs)
Downloads
4
Readme
formless
(work with nextjs)
Add to App
const MyApp = ({ Component, pageProps }: AppProps) => {
return (
<SessionProvider>
<Component {...pageProps} />
</SessionProvider>
);
};
Use in every Page
const { session, dispatch } = useSession();
.env.local
TOKEN_SECRET=
TOKEN_IV=