$ cd ./villard
$ cd ./villard
TTCTheo's Typesafe Cult
Created by $ cd ./villard on 5/31/2024 in #questions
Really dumb question about React Compiler
I figure this is a question someone deeper into the React ecosystem can answer. I've read some of what the React Compiler can do, but I'm not quite grokking it. Does React Compiler simply run through JavaScript and React code and improve its performance? Or can it be used to compile React code in such a way that it can be run standalone? As in, does it compile, optimize, and minify the code in such a way that I can run it on another application without that application running an instance of react and react-dom?
12 replies