Skip to content

Commit 4928421

Browse files
authored
Add Rsbuild as a build tool for React projects (#7608)
1 parent c438e9a commit 4928421

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

src/content/blog/2025/02/14/sunsetting-create-react-app.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ For existing apps, these guides will help you migrate to a client-only SPA:
5656

5757
Create React App will continue working in maintenance mode, and we've published a new version of Create React App to work with React 19.
5858

59-
If your app has unusual constraints, or you prefer to solve these problems by building your own framework, or you just want to learn how react works from scratch, you can roll your own custom setup with React using Vite or Parcel.
59+
If your app has unusual constraints, or you prefer to solve these problems by building your own framework, or you just want to learn how react works from scratch, you can roll your own custom setup with React using Vite, Parcel or Rsbuild.
6060

61-
To help users get started with Vite or Parcel, we've published new docs for [Building a Framework](/learn/building-a-react-framework). Continue reading to learn more about the [limitations of Create React App](#limitations-of-create-react-app) and [why we recommend frameworks](#why-we-recommend-frameworks).
61+
To help users get started with Vite, Parcel or Rsbuild, we've published new docs for [Building a Framework](/learn/building-a-react-framework). Continue reading to learn more about the [limitations of Create React App](#limitations-of-create-react-app) and [why we recommend frameworks](#why-we-recommend-frameworks).
6262

6363
<Note>
6464

src/content/learn/building-a-react-framework.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ If you are building your own framework to learn, using popular tools like Vite a
2626

2727
## Step 1: Install a build tool {/*step-1-install-a-build-tool*/}
2828

29-
The first step is to install a build tool like `vite` or `parcel`. These build tools provide features to package and run source code, provide a development server for local development and a build command to deploy your app to a production server.
29+
The first step is to install a build tool like `vite`, `parcel`, or `rsbuild`. These build tools provide features to package and run source code, provide a development server for local development and a build command to deploy your app to a production server.
3030

3131
### Vite {/*vite*/}
3232

@@ -50,6 +50,16 @@ npm install --save-dev parcel
5050

5151
Parcel supports fast refresh, JSX, TypeScript, Flow, and styling out of the box. See [Parcel's React recipe](https://parceljs.org/recipes/react/#getting-started) to get started.
5252

53+
### Rsbuild {/*rsbuild*/}
54+
55+
[Rsbuild](https://rsbuild.dev/) is an Rspack-powered build tool that provides a seamless development experience for React applications. It comes with carefully tuned defaults and performance optimizations ready to use.
56+
57+
<TerminalBlock>
58+
npx create-rsbuild --template react
59+
</TerminalBlock>
60+
61+
Rsbuild includes built-in support for React features like fast refresh, JSX, TypeScript, and styling. See [Rsbuild's React guide](https://rsbuild.dev/guide/framework/react) to get started.
62+
5363
<Note>
5464

5565
#### Metro for React Native {/*react-native*/}

0 commit comments

Comments
 (0)