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
I'm using react-router 7.6.0 in framework mode, but there is no SDK available for it.
Describe what you'd like Logto to have
Support for react-router v7 framework mode.
This is pretty much exactly the same as the remix package, just the imports are different, Remix version 3 basically is react-router v7 in framework mode now: https://remix.run/blog/incremental-path-to-react-19
As a workaround I just copied the remix package and renamed all the imports, I pushed a version of it here that seems to work perfectly: mattzque@c221be9
In the commit I search & replaced the import @remix-run/node with react-router, the only incompatibility I've found is a missing TypedResponse that I just replaced with Response.
The text was updated successfully, but these errors were encountered:
What problem did you meet?
I'm using react-router 7.6.0 in framework mode, but there is no SDK available for it.
Describe what you'd like Logto to have
Support for react-router v7 framework mode.
This is pretty much exactly the same as the remix package, just the imports are different, Remix version 3 basically is react-router v7 in framework mode now: https://remix.run/blog/incremental-path-to-react-19
As a workaround I just copied the remix package and renamed all the imports, I pushed a version of it here that seems to work perfectly: mattzque@c221be9
In the commit I search & replaced the import
@remix-run/node
withreact-router
, the only incompatibility I've found is a missingTypedResponse
that I just replaced withResponse
.The text was updated successfully, but these errors were encountered: