GraphQL Authentication in React Suspense
In this example you can check some examples of useMutation inside a authentication inside GraphQL Flow.
Relevant files:
- Handling of authorization headers in fetch: src/gqless/index.ts
- Login: src/Components/Login.tsx
- Register: src/Components/Register.tsx
- Checking if user is authenticated: src/hooks/currentUser.ts
Loading...