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-runtimeis just expected to work, same way thereact/jsx-runtimeis.