[Not For Merge]: compiling the library code with React compiler#3246
[Not For Merge]: compiling the library code with React compiler#3246sanjaiyan-dev wants to merge 3 commits intopmndrs:mainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
I'll consider this seriously but not immediately. In the meantime, would anyone like to benchmark the performance difference? Please open a new discussion. Based on the results, we'll consider when to introduce it. Closing until then. |
This basically requires react 19 and up. https://react.dev/reference/react-compiler/configuration#version-compatibility |
Hi, React Compiler supports React 19 and is backward compatible with React 18 and React 17. Please refer to https://react.dev/reference/react-compiler/compiling-libraries#backwards-compatibility for more details. Thank you. |
|
I don't love using "react-compiler-runtime" with React 19. In the mean time, would you like to benchmark the performance difference? Please open a new discussion. |
Sure I will 🤝 |
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
commit: |
|
| Playground | Link |
|---|---|
| React demo | https://livecodes.io?x=id/8KTBYBUBT |
See documentations for usage instructions.
Description:
This PR integrates the React Compiler to align the framework with modern React standards and improve overall performance.
Key Benefits:
Check List
pnpm run fixfor formatting and linting code and docs