Replies: 1 comment 4 replies
-
You're not showing the actual Also, after Remix revalidates, it will call your |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Issue
I'm working on a Remix application where the loader data doesn't update after a user signs out and is redirected to the /home route. The UI still shows the user as signed in until I manually refresh the page.
Environment Details
Relevant packages from package.json:
The Setup
Sign-out Route (routes/sign-out.tsx)
Sign-out Confirmation Component
Home Route Loader (routes/home.tsx)
Auth Button in Home Component
The Problem
When I click the "Yes" button to sign out:
signedIn
state remains true.What I've Tried
<Form>
instead of<fetcher.Form>
.Questions
Additional Information
<fetcher.Form>
and<Form>
.Any insights or suggestions would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions