Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
c60922f
Fix incorrect negative in use-memo intro (#8027)
karlhorky Oct 1, 2025
3f0235b
Docs for `cacheSignal` (#8023)
eps1lon Oct 1, 2025
9fddeca
docs: initial docs for Performance tracks (#7938)
hoxyq Oct 1, 2025
aba6b86
Docs for partial-prerendering APIs (#7869)
rickhanlonii Oct 1, 2025
10e5ad5
Conditionally deriving state is allowed (#8033)
gaearon Oct 1, 2025
dc86f88
Overview for React Server Performance tracks (#8031)
eps1lon Oct 1, 2025
c3d7560
Blog post for React 19.2 (#8028)
rickhanlonii Oct 1, 2025
0a803f6
Update eslint-plugin-react-hooks config docs (#8030)
jackpope Oct 1, 2025
f9fd07c
Fix Activity sandboxes (#8035)
rickhanlonii Oct 1, 2025
37f862a
Latest release is 19.2 (#8040)
eps1lon Oct 2, 2025
9850724
Upgrade sandboxes to 19.2 (#8037)
gaearon Oct 2, 2025
42037e2
Few cleanups for 19.2 (#8046)
rickhanlonii Oct 2, 2025
07b7a5d
s/19.3/19.2
rickhanlonii Oct 2, 2025
996ef72
Prerender can be aborted in stable (#8039)
eps1lon Oct 2, 2025
775d895
fix typo
sophiebits Oct 3, 2025
ae584af
Add experimental docs for Fragment refs (#8010)
jackpope Oct 3, 2025
7b8612e
Update eslint-plugin-react-hooks version reference (#8051)
poteto Oct 3, 2025
11cb6b5
Clarify eslint-plugin-react-hooks configuration details (#8052)
poteto Oct 4, 2025
28e9bd9
Document React's profiling build (#8054)
eps1lon Oct 6, 2025
2495353
Bump ViewTransition and Fragment ref docs to canary (#8048)
eps1lon Oct 7, 2025
d9e3504
Add React Foundation blog post (#8057)
mattcarrollcode Oct 7, 2025
8d73630
Upgrade to stable react compiler (#8058)
poteto Oct 7, 2025
ef80db8
Fix broken tabs (#8063)
poteto Oct 8, 2025
ec27355
Fix grammatical error in ViewTransition documentation (#8068)
Caisere Oct 9, 2025
be77c2a
React Compiler v1 (#8065)
poteto Oct 10, 2025
6346efd
Reorder compiler post a bit (#8071)
gaearon Oct 11, 2025
16e97fa
Fix server/client typo in <form> docs (#6627)
mdj-uk Oct 11, 2025
7e24db5
fix: correct example link to minified error on /errors index page (#8…
SecondThundeR Oct 11, 2025
0d05d9b
Revert "Reorder compiler post a bit (#8071)" (#8074)
gaearon Oct 11, 2025
02ecded
Update caveats for Activity rendering behavior (#8067)
TkDodo Oct 13, 2025
a677ba3
Fragment refs - Remove unused ref from focus fragment example (#8056)
slorber Oct 13, 2025
9ef1c47
fix: Breaking up a sentence to make it easier to understand (#8078)
moijes12 Oct 15, 2025
c8843f7
docs: capitalize Error Boundary concept across docs (#6713) (#8077)
Yonas650 Oct 16, 2025
ac0d53e
docs: update recommended full-stack React framework from Remix to Rea…
ardi-zanki Oct 16, 2025
55e37af
Update conference listings for 2025 and 2026 (#8069)
arismarko Oct 16, 2025
44e94f3
Fix typo in useRef.md (#8060)
gramsco Oct 16, 2025
4b92001
Fix typo in Comments component (#7258)
sachanritik1 Oct 16, 2025
593fa1c
docs: fix symbol in prerenderToNodeStream.md (#8019)
WuMingDao Oct 16, 2025
df75927
docs: fix server components link text to match target section heading…
alejorrojas Oct 16, 2025
7571898
Fix cat scrolling example (#7980)
kenkam Oct 16, 2025
6cb7fea
Update hooks link to /reference/react/hooks in /reference/react/api…
WuMingDao Oct 16, 2025
ee5b672
Fix ordered list numbering in useCallback.md (#8011)
rammba Oct 16, 2025
f93cb2e
doc: Update from /react to /react/hooks in /reference/react-dom/hooks…
WuMingDao Oct 16, 2025
896a689
Remove ReactConf notes in blogs (#8082)
rickhanlonii Oct 16, 2025
fe87df5
clarify SRP definition (#8008)
0xPxt Oct 16, 2025
7ecf008
Add React Conf 2025 recap blog post (#8079)
mattcarrollcode Oct 16, 2025
f8c81a0
Use stable activity imports (#8085)
jackpope Oct 18, 2025
4b0935b
Add `<Activity>` bullet to built-in components section (#8087)
imjordanxd Oct 20, 2025
2c7798d
Fix typo in react compiler blog post date (#8091)
poteto Oct 20, 2025
c0af2d0
Add note on error boundary limitations (#8108)
JayCeeKay1991 Oct 29, 2025
e57e912
docs(blog): Add 'React 19.2' to blog sidebar (#8113)
SeungJin051 Oct 31, 2025
f9e2c13
Remove 'esquery' hack to potentially enable Turbopack (#8115)
joshwcomeau Nov 1, 2025
b738844
docs(en): merging all conflicts
docschina-bot Nov 1, 2025
bdeb2c3
fix conflict
loveloki Nov 2, 2025
6f3fd1e
fix conflict
loveloki Nov 2, 2025
579420b
修复格式问题
loveloki Nov 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ const nextConfig = {
// Don't bundle the shim unnecessarily.
config.resolve.alias['use-sync-external-store/shim'] = 'react';

// ESLint depends on the CommonJS version of esquery,
// but Webpack loads the ESM version by default. This
// alias ensures the correct version is used.
//
// More info:
// https://github.com/reactjs/react.dev/pull/8115
config.resolve.alias['esquery'] = 'esquery/dist/esquery.min.js';

const {IgnorePlugin, NormalModuleReplacementPlugin} = require('webpack');
config.plugins.push(
new NormalModuleReplacementPlugin(
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"asyncro": "^3.0.0",
"autoprefixer": "^10.4.2",
"babel-eslint": "10.x",
"babel-plugin-react-compiler": "^19.1.0-rc.3",
"babel-plugin-react-compiler": "^1.0.0",
"chalk": "4.1.2",
"eslint": "7.x",
"eslint-config-next": "12.0.3",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/Layout/HomeContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ export function HomeContent() {
是一个库。它允许你将组件放在一起,但不关注路由和数据获取。要使用
React 构建整个应用程序,我们建议使用像{' '}
<Link href="https://nextjs.org">Next.js</Link> 或{' '}
<Link href="https://remix.run">Remix</Link> 这样的全栈 React
框架。
<Link href="https://reactrouter.com">React Router</Link>{' '}
这样的全栈 React 框架。
</Para>
</Center>
<FullBleed>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Layout/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {useRouter} from 'next/router';
import {SidebarNav} from './SidebarNav';
import {Footer} from './Footer';
import {Toc} from './Toc';
import SocialBanner from '../SocialBanner';
// import SocialBanner from '../SocialBanner';
import {DocsPageFooter} from 'components/DocsFooter';
import {Seo} from 'components/Seo';
import PageHeading from 'components/PageHeading';
Expand Down Expand Up @@ -142,7 +142,7 @@ export function Page({
/>
</Head>
)}
<SocialBanner />
{/* <SocialBanner /> */}
<TopNav
section={section}
routeTree={routeTree}
Expand Down
7 changes: 0 additions & 7 deletions src/components/MDX/Sandpack/runESLint.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@ const getCodeMirrorPosition = (

const linter = new Linter();

// HACK! Eslint requires 'esquery' using `require`, but there's no commonjs interop.
// because of this it tries to run `esquery.parse()`, while there's only `esquery.default.parse()`.
// This hack places the functions in the right place.
const esquery = require('esquery');
esquery.parse = esquery.default?.parse;
esquery.matches = esquery.default?.matches;

const reactRules = require('eslint-plugin-react-hooks').rules;
linter.defineRules({
'react-hooks/rules-of-hooks': reactRules['rules-of-hooks'],
Expand Down
4 changes: 2 additions & 2 deletions src/components/MDX/Sandpack/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ root.render(
eject: 'react-scripts eject',
},
dependencies: {
react: '^19.1.0',
'react-dom': '^19.1.0',
react: '^19.2.0',
'react-dom': '^19.2.0',
'react-scripts': '^5.0.0',
},
},
Expand Down
4 changes: 2 additions & 2 deletions src/components/MDX/SandpackWithHTMLOutput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ export default function formatHTML(markup) {
const packageJSON = `
{
"dependencies": {
"react": "18.3.0-canary-6db7f4209-20231021",
"react-dom": "18.3.0-canary-6db7f4209-20231021",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-scripts": "^5.0.0",
"html-format": "^1.1.2"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ description: 在 React Labs 的文章中,我们讲述了正在进行研究与

</Intro>

<Note>

React Conf 2024 定于 5 月 15 日至 16 日在内华达州亨德森举行!如果有兴趣亲临 React Conf,请在 2 月 28 日之前 [注册门票抽签](https://forms.reform.app/bLaLeE/react-conf-2024-ticket-lottery/1aRQLK)。

有关门票、免费直播、赞助等更多信息,请访问 [React Conf 网站](https://conf.react.dev)。

</Note>

---

## React 编译器 {/*react-compiler*/}
Expand Down
4 changes: 2 additions & 2 deletions src/content/blog/2024/10/21/react-compiler-beta-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ October 21, 2024 by [Lauren Tan](https://twitter.com/potetotes).

<Note>

### React 编译器现在处于 RC 版本!{/*react-compiler-is-now-in-rc*/}
### React 编译器现在处于稳定版本!{/*react-compiler-is-now-in-rc*/}

有关详细信息,请参阅 [RC 博客文章](/blog/2025/04/21/react-compiler-rc)。
有关详细信息,请参阅 [稳定版博客文章](/blog/2025/10/07/react-compiler-1)。

</Note>

Expand Down
128 changes: 0 additions & 128 deletions src/content/blog/2025/04/21/react-compiler-rc.md

This file was deleted.

Loading