-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
Which project does this relate to?
Router
Describe the bug
Context returned from root route beforeLoad is always missing on first page load in any Routes head function after version 1.140.0
Your Example Website or App
https://stackblitz.com/edit/github-9ck4fvht?file=src%2Froutes%2F__root.tsx
Steps to Reproduce the Bug or Issue
- Load app,
headlogs will not includepageTitle - Navigate to about,
headlogs haspageTitle - Refresh page on about, all
headlogs will not includepageTitle
Expected behavior
I expect the context in head to include values returned from root route beforeLoad. This was the case up until version 1.140.0
Screenshots or Videos
No response
Platform
- Router: 1.141.1
- OS: macOS
- Browser: Tested in Firefox, Chrome
- Browser Version: Chrome 143.0.7499.41, Firefox 146.0
- Bundler: vite
- Bundler Version: 7.1.7
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels