File tree Expand file tree Collapse file tree
src/content/blog/2025/02/14 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ description: 今天,我们正式宣布弃用 Create React App 作为新应用
2121
2222当我们在 2016 年发布 Create React App 时,还没有一种明确的方式来构建一个新的 React 应用。
2323
24- 要创建一个 React 应用,你必须安装一堆工具,并手动将它们配置在一起,以支持 JSX、代码检查(linting)和热更新(hot reloading)等基本功能。这很难正确的完成,因此 [ 社区] ( https://github.com/react-boilerplate/react-boilerplate ) 为 [ 常见的] ( https://github.com/gaearon/react-hot-boilerplate ) [ 设置] ( https://github.com/erikras/react-redux-universal-hot-example ) [ 创建] 了 (https://github.com/kriasoft/react-starter-kit ) [ 模板代码] ( https://github.com/petehunt/react-boilerplate ) 。然而,模板代码很难更新,而且代码碎片化的情况使得 React 难以推出新功能。
24+ 要创建一个 React 应用,你必须安装一堆工具,并手动将它们配置在一起,以支持 JSX、代码检查(linting)和热更新(hot reloading)等基本功能。这很难正确的完成,因此 [ 社区] ( https://github.com/react-boilerplate/react-boilerplate ) 为 [ 常见的] ( https://github.com/gaearon/react-hot-boilerplate ) [ 设置] ( https://github.com/erikras/react-redux-universal-hot-example ) [ 创建] ( https://github.com/kriasoft/react-starter-kit ) 了 [ 模板代码] ( https://github.com/petehunt/react-boilerplate ) 。然而,模板代码很难更新,而且代码碎片化的情况使得 React 难以推出新功能。
2525
2626Create React App 通过将多个工具整合到一个推荐的配置中,解决了这些问题。这使得应用程序能够以简单的方式升级到新的工具特性,同时也让 React 团队能够将重要的工具变更(如快速刷新支持、React Hook 的 lint 规则)部署给尽可能广泛的用户群体。
2727
You can’t perform that action at this time.
0 commit comments