converge
← Discussions

React Compiler: who has shipped it to prod?

Grew out of "Life After useMemo: The React Compiler in Practice"

QQuestionAAnswerFollow-up···CommunityMeetup
Thread · from "Life After useMemo: The React Compiler in Practice"
31
Priya NairBooking.com · asked live

How do we know when the compiler has bailed out on a component in production?

Devin Park

After Mara’s talk I’m convinced. Anyone running the compiler in production already? What broke?

+2 replies in this thread
Mara DevriesSPEAKER

We’ve had it on for ~6 months at work. The only real surprise was a few components that mutated props in render — those bailed silently until we fixed them.

Priya Nair

We’re gated on a React upgrade. Mara, did you need any codemods or was it just turning the plugin on?

+1 reply in this thread
Mara DevriesSPEAKER

Just the Babel/SWC plugin + the eslint plugin to catch rule-of-React violations. No codemod.

Theo Almeida

Doing a video on this. Will link the repo here when it’s up.

This thread became a meetup
Coffee: React Compiler
Today 14:30 · Base Camp café