Preview compile result in editor #26
Replies: 2 comments 4 replies
-
This was noted as something they were exploring in the most recent blog post on the React Compiler hitting Beta
Which I would expect would do this, it'll be interesting to see where that goes |
Beta Was this translation helpful? Give feedback.
-
Yeah we're working on an IDE extension. In the meantime, you can use the React DevTools which will show you a ✨ badge next to React Compiler optimized components. |
Beta Was this translation helpful? Give feedback.
-
Currently, the compilation of the React Compiler is completely a black box. Unless one views the compilation result, there is no way to know whether a certain piece of code is truly optimized. Is it possible to provide an editor plugin to mark in some form (such as Inlay Hints) how a certain piece of code will be optimized?
Beta Was this translation helpful? Give feedback.
All reactions