React Compiler with TSS
Hello,
I'm trying to set up the new react compiler with TSS@alpha but it seems like not to have an affect.
That's my vite.config.ts
Also added
"babel-plugin-react-compiler": "19.1.0-rc.2"5 Replies
other-emeraldOP•6mo ago
No errors outputed in the console
quickest-silver•6mo ago
what would expect to happen?
other-emeraldOP•6mo ago
Maybe I phrased my question wrong
More likely, how can I check, that it works?
because with react scanner, I still see like rerenderings of sub components happening after changing non related props
flat-fuchsia•6mo ago
an easy way to check if its working in general and in a specific component is to open the react devtools. they will show a
Memo badge on all components that have compiler optimizations applied
other-emeraldOP•6mo ago
Oh thank you! I’ll check later when im back on it