-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
fix(react): fix useLoaderData types in Yarn PnP #7137
fix(react): fix useLoaderData types in Yarn PnP #7137
Conversation
🦋 Changeset detectedLatest commit: 48329d8 The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This feels very weird to do so and makes me think about the initiative @pcattori started at some point to look into extracting certain packages I think back then the decision was made to copy/paste certain types and maintain 2 versions of it (for now) Maybe we should either do that here as well or since it's v2 it can be a perfect time to restart the initiative as well 🤔 |
I chatted offline with @MichaelDeBoey, but just updating here too. My feeling is that this is okay as a short-term fix since it's not changing any of the relationships between the packages — it's simply fixing an issue where |
I agree. Originally, the package reorg work was going to happen early this year, but we deprioritized it since it would be a breaking change, plus we wanted to focus on HMR/HDR work. Let's add |
🤖 Hello there, We just published version Thanks! |
Fixes #6994
The
useLoaderData
return type depends on access to theSerializeFrom
type exported by@remix-run/server-runtime
. Since this package is listed as a dev dependency of@remix-run/react
rather than a regular dependency, this type isn't currently available to consumers when running Yarn PnP.