Skip to content

Commit 2a2e02f

Browse files
authored
Update compiler docs for Rspack and Rsbuild apps (#7031)
1 parent 1a3a3ef commit 2a2e02f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/content/learn/react-compiler.md

+8
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,14 @@ Please refer to [Expo's docs](https://docs.expo.dev/preview/react-compiler/) to
357357

358358
React Native uses Babel via Metro, so refer to the [Usage with Babel](#usage-with-babel) section for installation instructions.
359359

360+
### Rspack {/*usage-with-rspack*/}
361+
362+
Please refer to [Rspack's docs](https://rspack.dev/guide/tech/react#react-compiler) to enable and use the React Compiler in Rspack apps.
363+
364+
### Rsbuild {/*usage-with-rsbuild*/}
365+
366+
Please refer to [Rsbuild's docs](https://rsbuild.dev/guide/framework/react#react-compiler) to enable and use the React Compiler in Rsbuild apps.
367+
360368
## Troubleshooting {/*troubleshooting*/}
361369

362370
To report issues, please first create a minimal repro on the [React Compiler Playground](https://playground.react.dev/) and include it in your bug report. You can open issues in the [facebook/react](https://github.com/facebook/react/issues) repo.

0 commit comments

Comments
 (0)