Skip to content

Conversation

@hhsl
Copy link

@hhsl hhsl commented Aug 8, 2025

hey, React Router 7.8.0 changed type definitions for Contexts from just unstable_RouterContextProvider to Readonly<unstable_RouterContextProvider>. So Typescript yells at me now using wrong contexts for my session middleware in my app loaders.

See https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#unstable-changes and remix-run/react-router#14097

I am not sure if pinning version to 7.8.0 is really wanted/needed. But as I was exploring the Repo i thought, why not submit these changes. Lets hope this will help :)

@ecline123
Copy link

What's holding this one from merge?

@sergiodxa
Copy link
Owner

I just did this along other changes in a separate PR.

@sergiodxa sergiodxa closed this Sep 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants