You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note the String Value and Date Value labels in the preview
Note the Date should be [date] label below the horizontal rule
The home page sets the date to 22nd March 2025, the About page sets it to 17th March, 2025
The default Date value is Fri Dec 31 1999. You can see that on the initial page load the String value gets returned correctly from the useState hook, while the Date value remains the default (1999)
Start navigating between Home and About
You'll see that the Date value becomes stale and gets out of sync (shows date for previous page), while the String value and Date should be are in sync
Expected behavior
I expect the Date value to remain in sync and not become stale
Screenshots or Videos
No response
Platform
OS: macOS
Browser: Brave
Version: 1.75.180
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
I noticed that Date values get stale between navigation (tanstack router) and their values lag behind, while their String representation is correct.
Steps to Reproduce the Bug or Issue
String Value
andDate Value
labels in the previewDate should be [date]
label below the horizontal ruleFri Dec 31 1999
. You can see that on the initial page load theString value
gets returned correctly from theuseState
hook, while theDate value
remains the default (1999)Date value
becomes stale and gets out of sync (shows date for previous page), while theString value
andDate should be
are in syncExpected behavior
I expect the
Date
value to remain in sync and not become staleScreenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: