这个博客是来自 React 团队更新的官方来源。任何重要信息,包括发布说明或废弃通知,都会先在这里发布。
🌐 This blog is the official source for the updates from the React team. Anything important, including release notes or deprecation notices, will be posted here first.
你也可以在Bluesky上关注@react.dev账号,或者在Twitter上关注@reactjs账号,但如果你只阅读这个博客,也不会遗漏任何重要内容。
🌐 You can also follow the @react.dev account on Bluesky, or @reactjs account on Twitter, but you won’t miss anything essential if you only read this blog.
React 基金会:由 Linux 基金会主办的 React 新家园
React 基金会已在 Linux 基金会下正式成立。
🌐 The React Foundation has officially launched under the Linux Foundation.
React 服务器组件中的拒绝服务和源代码泄露
安全研究人员在尝试利用上周关键漏洞的补丁时,发现并披露了 React 服务器组件中的另外两个漏洞…
🌐 Security researchers have found and disclosed two additional vulnerabilities in React Server Components while attempting to exploit the patches in last week’s critical vulnerability…
React 服务器组件中的关键安全漏洞
React 服务器组件中存在未经身份验证的远程代码执行漏洞。版本 19.0.1、19.1.2 和 19.2.1 已发布修复程序。我们建议立即升级。
🌐 There is an unauthenticated remote code execution vulnerability in React Server Components. A fix has been published in versions 19.0.1, 19.1.2, and 19.2.1. We recommend upgrading immediately.
React 会议 2025 回顾
上周我们举办了 React Conf 2025。在这篇文章中,我们总结了活动中的演讲和公告…
🌐 Last week we hosted React Conf 2025. In this post, we summarize the talks and announcements from the event…
React 编译器 v1.0
我们今天发布编译器的第一个稳定版本,并提供了代码检查和工具改进,以便更容易采用。
🌐 We’re releasing the compiler’s first stable release today, plus linting and tooling improvements to make adoption easier.
介绍 React 基础
今天,我们宣布我们计划创建 React 基金会和一个新的技术治理结构 …
🌐 Today, we’re announcing our plans to create the React Foundation and a new technical governance structure …
React 19.2
React 19.2 增加了新的功能,如 Activity、React 性能跟踪、useEffectEvent 等。在这篇文章中 …
🌐 React 19.2 adds new features like Activity, React Performance Tracks, useEffectEvent, and more. In this post …
React 实验室:查看过渡、活动等
在 React Labs 的文章中,我们会撰写关于正在进行研究和开发的项目。在这篇文章中,我们将分享两个可以立即尝试的全新实验性功能,并分享我们现在正在进行的其他工作字段……
🌐 In React Labs posts, we write about projects in active research and development. In this post, we’re sharing two new experimental features that are ready to try today, and sharing other areas we’re working on now …
逐步淘汰 Create React App
今天,我们正在弃用用于新应用的 Create React App,并鼓励现有应用迁移到框架,或迁移到像 Vite、Parcel 或 RSBuild 这样的构建工具。我们还提供了文档,适用于当框架不适合你的项目、你想构建自己的框架,或者你只是想通过从零开始构建一个 React 应用来学习 React 的工作原理时。
🌐 Today, we’re deprecating Create React App for new apps, and encouraging existing apps to migrate to a framework, or to migrate to a build tool like Vite, Parcel, or RSBuild. We’re also providing docs for when a framework isn’t a good fit for your project, you want to build your own framework, or you just want to learn how React works by building a React app from scratch …
React v19
在 React 19 升级指南中,我们分享了将应用升级到 React 19 的逐步操作说明。在这篇文章中,我们将概述 React 19 的新特性,以及你如何采用它们…
🌐 In the React 19 Upgrade Guide, we shared step-by-step instructions for upgrading your app to React 19. In this post, we’ll give an overview of the new features in React 19, and how you can adopt them …
React 编译器测试版发布
我们在 2024 年的 React 大会上宣布了 React 编译器的实验性发布。自那时以来,我们取得了很大进展,在这篇文章中,我们想分享 React 编译器的下一步计划……
🌐 We announced an experimental release of React Compiler at React Conf 2024. We’ve made a lot of progress since then, and in this post we want to share what’s next for React Compiler …
React 会议 2024 回顾
上周,我们在内华达州亨德森举办了 React Conf 2024,为期两天的会议,超过 700 名与会者亲自聚集在一起,讨论 UI 工程的最新进展。这是自 2019 年以来我们的第一次线下会议,我们很高兴能够再次将社区聚集在一起…
🌐 Last week we hosted React Conf 2024, a two-day conference in Henderson, Nevada where 700+ attendees gathered in-person to discuss the latest in UI engineering. This was our first in-person conference since 2019, and we were thrilled to be able to bring the community together again …
React 19 升级指南
React 19 添加的改进需要一些破坏性更改,但我们已经努力使升级尽可能顺利,而且我们不预计这些更改会影响大多数应用。在本文中,我们将引导你完成将库升级到 React 19 的步骤…
🌐 The improvements added to React 19 require some breaking changes, but we’ve worked to make the upgrade as smooth as possible, and we don’t expect the changes to impact most apps. In this post, we will guide you through the steps for upgrading libraries to React 19 …
React 实验室:我们一直在做的工作 – 2024年2月
在 React Labs 的文章中,我们会撰写关于正在积极研究和开发的项目。自上次更新以来,我们在 React 编译器、新功能以及 React 19 上取得了显著进展,我们希望分享我们所学到的内容。
🌐 In React Labs posts, we write about projects in active research and development. Since our last update, we’ve made significant progress on React Compiler, new features, and React 19, and we’d like to share what we learned.
React 预览版:Meta 外的增量功能发布
传统上,新的 React 功能通常首先在 Meta 内部可用,然后才在开源版本中发布。我们希望为 React 社区提供一个选项,使其能够在新功能设计接近完成时就采用这些功能——类似于 Meta 内部使用 React 的方式。我们正在推出一个新的官方支持的 Canary 发布渠道。它允许诸如框架这样的精选设置,将单个 React 功能的采用与 React 的发布计划解耦。
🌐 Traditionally, new React features used to only be available at Meta first, and land in the open source releases later. We’d like to offer the React community an option to adopt individual new features as soon as their design is close to final—similar to how Meta uses React internally. We are introducing a new officially supported Canary release channel. It lets curated setups like frameworks decouple adoption of individual React features from the React release schedule.
React 实验室:我们一直在做的工作 – 2023年3月
在 React Labs 的文章中,我们会撰写关于正在积极研究和开发的项目的内容。自我们上次更新以来,我们在 React 服务器组件、资源加载、优化编译器、离屏渲染和过渡追踪方面取得了重要进展,我们希望分享我们的所学。
🌐 In React Labs posts, we write about projects in active research and development. Since our last update, we’ve made significant progress on React Server Components, Asset Loading, Optimizing Compiler, Offscreen Rendering, and Transition Tracing, and we’d like to share what we learned.
介绍 react.dev
今天我们很高兴推出 react.dev,这是 React 及其文档的新首页。在这篇文章中,我们想带你参观新网站。
🌐 Today we are thrilled to launch react.dev, the new home for React and its documentation. In this post, we would like to give you a tour of the new site.
React 实验室:我们一直在做的工作 – 2022年6月
React 18 是经过多年开发的成果,它为 React 团队带来了宝贵的经验教训。它的发布是多年研究和探索多条路径的结果。其中一些路径是成功的;更多的则是死胡同,但这些死胡同又带来了新的见解。我们学到的一个教训是,对于社区来说,在不了解我们正在探索的这些路径的情况下等待新功能是令人沮丧的…
React v18.0
React 18 现在可以在 npm 上使用了!在我们上一篇文章中,我们分享了升级应用到 React 18 的逐步指南。在本文中,我们将概述 React 18 的新功能,以及这对未来意味着什么……
如何升级到 React 18
正如我们在发布文章中分享的,React 18 引入了由我们新的并发渲染器驱动的功能,并为现有应用提供了逐步采用策略。在本文中,我们将引导你了解升级到 React 18 的步骤…
React 会议 2021 回顾
上周我们举办了第六届 React 大会。在过去的几年里,我们曾利用 React 大会的舞台发布改变行业的重要公告,例如 React Native 和 React Hooks。今年,我们分享了 React 的多平台愿景,从发布 React 18 开始,并逐步采用并发特性……
React 18 的计划
React 团队很高兴分享一些更新:
- 我们已经开始着手 React 18 的发布工作,这将是我们的下一个主要版本。
- 我们已成立一个工作组,为社区准备逐步采用 React 18 中的新功能。
- 我们已经发布了 React 18 Alpha,以便库作者可以尝试并提供反馈…
介绍零打包大小的 React 服务器组件
2020年是漫长的一年。随着这一年的结束,我们想分享一个关于我们对零打包大小React服务器组件研究的特别假期更新。为了介绍React服务器组件,我们准备了一次讲座和一个演示。如果你愿意,可以在假期期间查看它们,或者等到新年工作恢复时再看……
所有版本说明
🌐 All release notes
并非每个 React 版本都值得拥有自己的博客文章,但你可以在 React 仓库中的 CHANGELOG.md 文件以及 Releases 页面找到每个版本的详细更新日志。
🌐 Not every React release deserves its own blog post, but you can find a detailed changelog for every release in the CHANGELOG.md file in the React repository, as well as on the Releases page.
较早的文章
🌐 Older posts
查看较早的帖子。
🌐 See the older posts.