-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
type { UIMatch } from '@remix-run/router'
is different from type { UIMatch } from '@remix-run/react'
#7438
Comments
Additionally, it would be nice if other exported types (e.g. |
Only exporting from one package would make the layered approach of building Remix on top of React Router impossible. |
@brophdawg11 nice — thanks for that suggestion. The |
This is resolved by #7464 and will be available in the next release 👍 |
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
What version of Remix are you using?
2.0.0
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
Compare both exports and observe that they are different:
UIMatch
from@remix-run/router
takes two type argumentsUIMatch
from@remix-run/react
takes one type argumentProbably the former should be used in both cases, since it’s more flexible.
Expected Behavior
Both types are the same
Actual Behavior
!(
both types are the same)
The text was updated successfully, but these errors were encountered: