-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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: add support for react-compiler-runtime
#12735
Conversation
|
lgtm, waiting for confirmation from the Sanity team that this fixes the bug they are experiencing. |
They were able to confirm. Thanks again! |
I forgot to add a changeset here, so I did so here instead: #12755 |
Unfortunately this is logging a warning for users who don't have |
Is there an example library or repro that uses |
There are some Sanity libraries listed here that need it. |
That's true in general, but this is a special case similar to
|
In your PR description you mentioned "libraries publishing code pre-compiled with the React Compiler", so isn't And if any change needs to be made, it should be in |
Changes
Adds support for libraries publishing code pre-compiled with the React Compiler
Testing
Don't know enough about astro internals to add a test 🤷
Docs
Don't think docs need to change, support for
react-compiler-runtime
is just expected to work, same way thereact/jsx-runtime
is.