rsnext/examples/with-supabase/components/tutorial
Jon Meyers 5b48db23b1
Add protected page and pending state to with-supabase example (#62211)
### What?

[1] Add protected page
[2] Add pending state

### Why?

[1] People using incorrect ways to protect pages
[2] No feedback that the login page is doing anything when buttons
clicked

### How?

[1] Redirect user to protected page after successful authentication
[2] Use useFormStatus to determine whether the form is in a pending
state

---------

Co-authored-by: Sam Ko <sam@vercel.com>
2024-02-19 01:12:58 +00:00
..
Code.tsx Add protected page and pending state to with-supabase example (#62211) 2024-02-19 01:12:58 +00:00
ConnectSupabaseSteps.tsx Add protected page and pending state to with-supabase example (#62211) 2024-02-19 01:12:58 +00:00
FetchDataSteps.tsx Add protected page and pending state to with-supabase example (#62211) 2024-02-19 01:12:58 +00:00
SignUpUserSteps.tsx Add protected page and pending state to with-supabase example (#62211) 2024-02-19 01:12:58 +00:00
Step.tsx Add protected page and pending state to with-supabase example (#62211) 2024-02-19 01:12:58 +00:00