strapi/examples/experimental-dev
Marc Roig 8f8324a880
v5.0.0-rc.4 (#20834)
* v5.0.0-rc.4

* chore: revert failed release

* v5.0.0-rc.4

* fix: update missing dependencies
2024-07-17 16:16:25 +02:00
..
2024-07-17 16:16:25 +02:00

Experimental Dev

This app is used to run experimental dependencies in Strapi. Specifically right now, used to test react19 release candidates & the react-compiler

Getting started

To run the example you should include USE_EXPERIMENTAL_DEPENDENCIES=true in your .env file. This flag is used by the @strapi/strapi cli package and disabled checking against the dependency versions in your project as for production applications we only officially support v17/18 of react.

Using the compiler

The compiler is extremely experimental. To activate it, you need to add USE_REACT_COMPILER=true to your .env file. Compilation may be slower because it's only a babel plugin, so instead of using @vitejs/plugin-react-swc we're using @vitejs/plugin-react which arguably may be slower.