Skip to content

Commit

Permalink
docs(en): merge reactjs.org/main into zh-hans.reactjs.org/main @ 09f39a0
Browse files Browse the repository at this point in the history
  • Loading branch information
awxiaoxian2020 authored Feb 18, 2025
2 parents b0cd82c + d10113d commit ff545db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ description: React 18 经过多年的努力才得以问世,它为 React 团队

特别地,我们放弃了拥有分叉 I/O 库(例如 react-fetch)的想法,转而采用了具有更好兼容性的 async/await 模型。这从技术上讲并不阻碍 RSC 的发布,因为还可以使用路由器进行数据获取。另一个变化是我们也放弃了文件扩展名的方法,而是采用了 [注释边界](https://github.com/reactjs/rfcs/pull/189#issuecomment-1116482278) 的方式。

我们正在与 Vercel 和 Shopify 合作,在 Webpack 和 Vite 中统一打包器(bundler)对共享语义的支持。在发布之前,我们希望确保整个 React 生态系统中的 RSC 的语义是一致的。这是达到稳定状态的主要障碍。
我们正在与 Vercel 和 Shopify 合作,在 webpack 和 Vite 中统一打包器(bundler)对共享语义的支持。在发布之前,我们希望确保整个 React 生态系统中的 RSC 的语义是一致的。这是达到稳定状态的主要障碍。

## 资源加载 {/*asset-loading*/}

Expand Down
4 changes: 2 additions & 2 deletions src/content/blog/2025/02/14/sunsetting-create-react-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ For existing apps, these guides will help you migrate to a client-only SPA:

* [Next.js’ Create React App migration guide](https://nextjs.org/docs/app/building-your-application/upgrading/from-create-react-app)
* [React Router’s framework adoption guide](https://reactrouter.com/upgrading/component-routes).
* [Expo Webpack to Expo Router migration guide](https://docs.expo.dev/router/migrate/from-expo-webpack/)
* [Expo webpack to Expo Router migration guide](https://docs.expo.dev/router/migrate/from-expo-webpack/)

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.

Expand Down Expand Up @@ -110,7 +110,7 @@ export default function App() {
return (
<div>
{route === 'home' && <Home />}
{route === 'dashboard' && <Dashbord />}
{route === 'dashboard' && <Dashboard />}
</div>
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/content/learn/react-compiler.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export default defineConfig({

### Webpack {/*usage-with-webpack*/}

由社区提供的 Webpack loader 可以 [在这里找到](https://github.com/SukkaW/react-compiler-webpack)
由社区提供的 webpack loader 可以 [在这里找到](https://github.com/SukkaW/react-compiler-webpack)

### Expo {/*usage-with-expo*/}

Expand Down

0 comments on commit ff545db

Please sign in to comment.