expo / examples

Example projects that demonstrate how to use Expo APIs and integrate Expo with other popular tools
2.14k stars 853 forks source link

feat: add react compiler example #485

Closed EvanBacon closed 1 month ago

EvanBacon commented 1 month ago

Depends on this landing and getting published https://github.com/expo/expo/pull/29168

ThusSpokeNomad commented 1 month ago

@vincentvella

Should this example have a babel config file?

I believe the answer is yes, see docs: https://docs.expo.dev/guides/react-compiler/#configuration

(a side-note, 51.0.14 wouldn't work because of expo/expo@c1a8c4b at the moment but hopefully, it'll be back.

rinaldycodes commented 3 weeks ago

how to know react-compiler work's well, in this example ?, i was try this [babel.config.js] image

this page still rendered "expensive rendered" when i clicked incrementDor

image