Skip to content

Conversation

MattiasBuelens
Copy link
Contributor

@MattiasBuelens MattiasBuelens commented Oct 17, 2025

React Compiler is now stable, so let's start using it. 😁

This does bump the minimum supported React version to 17.0. Our peer dependency was previously set to *, but I don't think we actually tested with older React versions...? 😬 Anyway, if we think this is too risky, I can turn off React Compiler for the main library and only turn it on in the example app.

@MattiasBuelens MattiasBuelens added the enhancement New feature or request label Oct 17, 2025
@MattiasBuelens
Copy link
Contributor Author

Hmm, it doesn't seem like babel.config.js is doing anything? I'm not seeing any changes in the build output in lib/, whereas we should expect to see references to react-compiler-runtime... 😕

It does work fine in the example app though. So maybe the React Compiler should be enabled on the end-user's app, and not really on our SDK?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants