Skip to content

Commit 2d3fee5

Browse files
lumirboteps1lonapheriomikedidomizioviteinfinite
authored
chore: sync-with react.dev (#1156)
Co-authored-by: Sebastian "Sebbie" Silbermann <[email protected]> Co-authored-by: Sahil Mhapsekar <[email protected]> Co-authored-by: Mike DiDomizio <[email protected]> Co-authored-by: Simone Civetta <[email protected]> Co-authored-by: Aris Markogiannakis <[email protected]> Co-authored-by: Sruthi Krishnakumar <[email protected]> Co-authored-by: Phanendra Guptha Katta <[email protected]> Co-authored-by: Ryan Christian <[email protected]> Co-authored-by: Eli White <[email protected]> Co-authored-by: Ricky <[email protected]> Co-authored-by: Brion Mario <[email protected]> Co-authored-by: Henrik Rinne <[email protected]> Co-authored-by: Kiran Abburi <[email protected]> Co-authored-by: 루밀LuMir <[email protected]>
1 parent ee48f84 commit 2d3fee5

29 files changed

+252
-232
lines changed

.github/workflows/discord_notify.yml

-21
This file was deleted.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
},
2929
"dependencies": {
3030
"@codesandbox/sandpack-react": "2.13.5",
31-
"@docsearch/css": "^3.6.1",
32-
"@docsearch/react": "^3.6.1",
31+
"@docsearch/css": "^3.8.3",
32+
"@docsearch/react": "^3.8.3",
3333
"@headlessui/react": "^1.7.0",
3434
"@radix-ui/react-context-menu": "^2.1.5",
3535
"body-scroll-lock": "^3.1.3",

public/images/team/andrey-lunyov.jpg

-56.2 KB
Binary file not shown.

public/images/team/hendrik.jpg

306 KB
Loading

public/images/team/jordan.jpg

281 KB
Loading
-129 KB
Binary file not shown.

public/images/team/lauren.jpg

-897 KB
Loading

public/images/team/luna-wei.jpg

-283 KB
Binary file not shown.

public/images/team/mike.jpg

310 KB
Loading

public/images/team/noahlemen.jpg

-330 KB
Binary file not shown.

public/images/team/pieter.jpg

359 KB
Loading

public/images/team/sam.jpg

-99.9 KB
Binary file not shown.

public/images/team/sathya.jpg

-68.8 KB
Binary file not shown.

public/images/team/tianyu.jpg

-51.4 KB
Binary file not shown.

src/components/MDX/ErrorDecoder.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function replaceArgs(
1111
return msg.replace(/%s/g, function () {
1212
const arg = argList[argIdx++];
1313
// arg can be an empty string: ?args[0]=&args[1]=count
14-
return arg === undefined || arg === '' ? replacer : arg;
14+
return arg === undefined ? replacer : arg;
1515
});
1616
}
1717

src/components/MDX/Sandpack/SandpackRoot.tsx

+7
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,13 @@ function SandpackRoot(props: SandpackProps) {
7171
const codeSnippets = Children.toArray(children) as React.ReactElement[];
7272
const files = createFileMap(codeSnippets);
7373

74+
if ('/index.html' in files) {
75+
throw new Error(
76+
'You cannot use `index.html` file in sandboxes. ' +
77+
'Only `public/index.html` is respected by Sandpack and CodeSandbox (where forks are created).'
78+
);
79+
}
80+
7481
files['/src/styles.css'] = {
7582
code: [sandboxStyle, files['/src/styles.css']?.code ?? ''].join('\n\n'),
7683
hidden: !files['/src/styles.css']?.visible,

src/components/MDX/TeamMember.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44

55
import * as React from 'react';
6-
import Image from 'next/image';
6+
import Image from 'next/legacy/image';
77
import {IconTwitter} from '../Icon/IconTwitter';
88
import {IconThreads} from '../Icon/IconThreads';
99
import {IconBsky} from '../Icon/IconBsky';

src/content/community/acknowledgements.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ React는 원래 [Jordan Walke](https://github.com/jordwalke)에 의해 만들어
3737
* [Jeff Morrison](https://github.com/jeffmo)
3838
* [LuMir](https://github.com/lumirlumir)
3939
* [Luna Ruan](https://github.com/lunaruan)
40+
* [Luna Wei](https://github.com/lunaleaps)
41+
* [Noah Lemen](https://github.com/noahlemen)
4042
* [Kathryn Middleton](https://github.com/kmiddleton14)
4143
* [Keyan Zhang](https://github.com/keyz)
4244
* [Marco Salazar](https://github.com/salazarm)
@@ -52,9 +54,10 @@ React는 원래 [Jordan Walke](https://github.com/jordwalke)에 의해 만들어
5254
* [Samuel Susla](https://github.com/sammy-SC)
5355
* [Sander Spies](https://github.com/sanderspies)
5456
* [Sasha Aickin](https://github.com/aickin)
55-
* [Sean Keegan](https://github.com/seanryankeegan)
57+
* [Sathya Gunasekaran](https://github.com/gsathya)
5658
* [Sophia Shoemaker](https://github.com/mrscobbler)
5759
* [Sunil Pai](https://github.com/threepointone)
60+
* [Tianyu Yao](https://github.com/)
5861
* [Tim Yung](https://github.com/yungsters)
5962
* [Xuan Huang](https://github.com/huxpro)
6063

src/content/community/conferences.md

+35-4
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,59 @@ Do you know of a local React.js conference? Add it here! (Please keep the list c
1010

1111
## Upcoming Conferences {/*upcoming-conferences*/}
1212

13-
### React Day Berlin 2024 {/*react-day-berlin-2024*/}
14-
December 13 & 16, 2024. In-person in Berlin, Germany + remote (hybrid event)
13+
### React Paris 2025 {/*react-paris-2025*/}
14+
March 20 - 21, 2025. In-person in Paris, France (hybrid event)
1515

16-
[Website](https://reactday.berlin/) - [Twitter](https://x.com/reactdayberlin)
16+
[Website](https://react.paris/) - [Twitter](https://x.com/BeJS_)
17+
18+
### React Native Connection 2025 {/*react-native-connection-2025*/}
19+
April 3 (Reanimated Training) + April 4 (Conference), 2025. Paris, France.
20+
21+
[Website](https://reactnativeconnection.io/) - [X](https://x.com/reactnativeconn) - [Bluesky](https://bsky.app/profile/reactnativeconnect.bsky.social)
22+
23+
### CityJS London 2025 {/*cityjs-london*/}
24+
April 23 - 25, 2025. In-person in London, UK
25+
26+
[Website](https://london.cityjsconf.org/) - [Twitter](https://x.com/cityjsconf) - [Bluesky](https://bsky.app/profile/cityjsconf.bsky.social)
1727

1828
### App.js Conf 2025 {/*appjs-conf-2025*/}
1929
May 28 - 30, 2025. In-person in Kraków, Poland + remote
2030

2131
[Website](https://appjs.co) - [Twitter](https://twitter.com/appjsconf)
2232

33+
### CityJS Athens 2025 {/*cityjs-athens*/}
34+
May 27 - 31, 2025. In-person in Athens, Greece
35+
36+
[Website](https://athens.cityjsconf.org/) - [Twitter](https://x.com/cityjsconf) - [Bluesky](https://bsky.app/profile/cityjsconf.bsky.social)
37+
2338
### React Summit 2025 {/*react-summit-2025*/}
2439
June 13 - 17, 2025. In-person in Amsterdam, Netherlands + remote (hybrid event)
2540

2641
[Website](https://reactsummit.com/) - [Twitter](https://x.com/reactsummit)
2742

43+
### React Nexus 2025 {/*react-nexus-2025*/}
44+
July 03 - 05, 2025. In-person in Bangalore, India
45+
46+
[Website](https://reactnexus.com/) - [Twitter](https://x.com/ReactNexus) - [Bluesky](https://bsky.app/profile/reactnexus.com) - [Linkedin](https://www.linkedin.com/company/react-nexus) - [YouTube](https://www.youtube.com/reactify_in)
47+
2848
### React Universe Conf 2025 {/*react-universe-conf-2025*/}
2949
September 2-4, 2025. Wrocław, Poland.
3050

3151
[Website](https://www.reactuniverseconf.com/) - [Twitter](https://twitter.com/react_native_eu) - [LinkedIn](https://www.linkedin.com/events/reactuniverseconf7163919537074118657/)
3252

53+
### React India 2025 {/*react-india-2025*/}
54+
October 31 - November 01, 2025. In-person in Goa, India (hybrid event) + Oct 15 2025 - remote day
55+
56+
[Website](https://www.reactindia.io) - [Twitter](https://twitter.com/react_india) - [Facebook](https://www.facebook.com/ReactJSIndia) - [Youtube](https://www.youtube.com/channel/UCaFbHCBkPvVv1bWs_jwYt3w)
57+
58+
3359
## Past Conferences {/*past-conferences*/}
3460

61+
### React Day Berlin 2024 {/*react-day-berlin-2024*/}
62+
December 13 & 16, 2024. In-person in Berlin, Germany + remote (hybrid event)
63+
64+
[Website](https://reactday.berlin/) - [Twitter](https://x.com/reactdayberlin)
65+
3566
### React Africa 2024 {/*react-africa-2024*/}
3667
November 29, 2024. In-person in Casablanca, Morocco (hybrid event)
3768

@@ -60,7 +91,7 @@ October 25, 2024. In-person in Verona, Italy + online (hybrid event)
6091
### React Brussels 2024 {/*react-brussels-2024*/}
6192
October 18, 2024. In-person in Brussels, Belgium (hybrid event)
6293

63-
[Website](https://www.react.brussels/) - [Twitter](https://x.com/BrusselsReact)
94+
[Website](https://www.react.brussels/) - [Twitter](https://x.com/BrusselsReact) - [YouTube](https://www.youtube.com/playlist?list=PL53Z0yyYnpWimQ0U75woee2zNUIFsiDC3)
6495

6596
### React India 2024 {/*react-india-2024*/}
6697
October 17 - 19, 2024. In-person in Goa, India (hybrid event) + Oct 15 2024 - remote day

src/content/community/meetups.md

+6
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ Do you have a local React.js meetup? Add it here! (Please keep the list alphabet
5757
* [React Advanced London](https://guild.host/react-advanced-london)
5858
* [React Native London](https://guild.host/RNLDN)
5959

60+
## Finland {/*finland*/}
61+
* [Helsinki](https://www.meetabit.com/communities/react-helsinki)
62+
6063
## France {/*france*/}
6164
* [Lille](https://www.meetup.com/ReactBeerLille/)
6265
* [Paris](https://www.meetup.com/ReactJS-Paris/)
@@ -136,6 +139,9 @@ Do you have a local React.js meetup? Add it here! (Please keep the list alphabet
136139
## Spain {/*spain*/}
137140
* [Barcelona](https://www.meetup.com/ReactJS-Barcelona/)
138141

142+
## Sri Lanka {/*sri-lanka*/}
143+
* [Colombo](https://www.javascriptcolombo.com/)
144+
139145
## Sweden {/*sweden*/}
140146
* [Goteborg](https://www.meetup.com/ReactJS-Goteborg/)
141147
* [Stockholm](https://www.meetup.com/Stockholm-ReactJS-Meetup/)

src/content/community/team.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,14 @@ Current members of the React team are listed in alphabetical order below.
2222
Dan got into programming after he accidentally discovered Visual Basic inside Microsoft PowerPoint. He has found his true calling in turning [Sebastian](#sebastian-markbåge)'s tweets into long-form blog posts. Dan occasionally wins at Fortnite by hiding in a bush until the game ends.
2323
</TeamMember>
2424

25-
<TeamMember name="Eli White" permalink="eli-white" photo="/images/team/eli-white.jpg" github="TheSavior" twitter="Eli_White" threads="elicwhite" title="Engineering Manager at Meta">
25+
<TeamMember name="Eli White" permalink="eli-white" photo="/images/team/eli-white.jpg" github="elicwhite" twitter="Eli_White" threads="elicwhite" title="Engineering Manager at Meta">
2626
Eli got into programming after he got suspended from middle school for hacking. He has been working on React and React Native since 2017. He enjoys eating treats, especially ice cream and apple pie. You can find Eli trying quirky activities like parkour, indoor skydiving, and aerial silks.
2727
</TeamMember>
2828

29+
<TeamMember name="Hendrik Liebau" permalink="hendrik-liebau" photo="/images/team/hendrik.jpg" github="unstubbable" bsky="unstubbable.bsky.social" twitter="unstubbable" title="Engineer at Vercel">
30+
Hendrik’s journey in tech started in the late 90s when he built his first websites with Netscape Communicator. After earning a diploma in computer science and working at digital agencies, he built a React Server Components bundler and library, paving the way to his role on the Next.js team. Outside of work, he enjoys cycling and tinkering in his workshop.
31+
</TeamMember>
32+
2933
<TeamMember name="Jack Pope" permalink="jack-pope" photo="/images/team/jack-pope.jpg" github="jackpope" personal="jackpope.me" title="Engineer at Meta">
3034
Shortly after being introduced to AutoHotkey, Jack had written scripts to automate everything he could think of. When reaching limitations there, he dove headfirst into web app development and hasn't looked back. Most recently, Jack worked on the web platform at Instagram before moving to React. His favorite programming language is JSX.
3135
</TeamMember>
@@ -38,6 +42,10 @@ Current members of the React team are listed in alphabetical order below.
3842
Joe was planning to major in math and philosophy but got into computer science after writing physics simulations in Matlab. Prior to React, he worked on Relay, RSocket.js, and the Skip programming language. While he’s not building some sort of reactive system he enjoys running, studying Japanese, and spending time with his family.
3943
</TeamMember>
4044

45+
<TeamMember name="Jordan Brown" permalink="jordan-brown" photo="/images/team/jordan.jpg" github="jbrown215" title="Engineer at Meta">
46+
Jordan started coding by building iPhone apps, where he was pushing and popping view controllers before he knew that for-loops were a thing. He enjoys working on technology that developers love, which naturally drew him to React. Outside of work he enjoys reading, kiteboarding, and playing guitar.
47+
</TeamMember>
48+
4149
<TeamMember name="Josh Story" permalink="josh-story" photo="/images/team/josh.jpg" github="gnoff" bsky="storyhb.com" title="Engineer at Vercel">
4250
Josh majored in Mathematics and discovered programming while in college. His first professional developer job was to program insurance rate calculations in Microsoft Excel, the paragon of Reactive Programming which must be why he now works on React. In between that time Josh has been an IC, Manager, and Executive at a few startups. outside of work he likes to push his limits with cooking.
4351
</TeamMember>
@@ -46,20 +54,20 @@ Current members of the React team are listed in alphabetical order below.
4654
나은은 `<marquee>`를 발견했을 때 개발의 전성기를 맞이했습니다. 그때부터 비슷한 느낌을 찾고 있습니다. 대학에서 컴퓨터과학 대신 재무금융을 전공하면서 엑셀로 코딩을 배웠습니다. 취미는 대화방에서 재미있는 밈을 공유하고, 남편과 함께 게임하고, 한국어를 배우고, 강아지 젤다와 노는 것입니다.
4755
</TeamMember>
4856

49-
<TeamMember name="Luna Wei" permalink="luna-wei" photo="/images/team/luna-wei.jpg" github="lunaleaps" twitter="lunaleaps" threads="lunaleaps" title="Engineer at Meta">
50-
Luna first learnt the fundamentals of python at the age of 6 from her father. Since then, she has been unstoppable. Luna aspires to be a gen z, and the road to success is paved with environmental advocacy, urban gardening and lots of quality time with her Voo-Doo’d (as pictured).
51-
</TeamMember>
52-
5357
<TeamMember name="Matt Carroll" permalink="matt-carroll" photo="/images/team/matt-carroll.png" github="mattcarrollcode" twitter="mattcarrollcode" threads="mattcarrollcode" title="Developer Advocate at Meta">
5458
Matt stumbled into coding, and since then, has become enamored with creating things in communities that can’t be created alone. Prior to React, he worked on YouTube, the Google Assistant, Fuchsia, and Google Cloud AI and Evernote. When he's not trying to make better developer tools he enjoys the mountains, jazz, and spending time with his family.
5559
</TeamMember>
5660

61+
<TeamMember name="Mike Vitousek" permalink="mike-vitousek" photo="/images/team/mike.jpg" github="mvitousek" title="Engineer at Meta">
62+
Mike went to grad school dreaming of becoming a professor but realized that he liked building things a lot more than writing grant applications. Mike joined Meta to work on Javascript infrastructure, which ultimately led him to work on the React Compiler. When not hacking on either Javascript or OCaml, Mike can often be found hiking or skiing in the Pacific Northwest.
63+
</TeamMember>
64+
5765
<TeamMember name="Mofei Zhang" permalink="mofei-zhang" photo="/images/team/mofei-zhang.png" github="mofeiZ" threads="z_mofei" title="Engineer at Meta">
5866
Mofei started programming when she realized it can help her cheat in video games. She focused on operating systems in undergrad / grad school, but now finds herself happily tinkering on React. Outside of work, she enjoys debugging bouldering problems and planning her next backpacking trip(s).
5967
</TeamMember>
6068

61-
<TeamMember name="Noah Lemen" permalink="noah-lemen" photo="/images/team/noahlemen.jpg" github="noahlemen" twitter="noahlemen" threads="noahlemen" personal="noahle.men" title="Engineer at Meta">
62-
Noah’s interest in UI programming sparked during his education in music technology at NYU. At Meta, he's worked on internal tools, browsers, web performance, and is currently focused on React. Outside of work, Noah can be found tinkering with synthesizers or spending time with his cat.
69+
<TeamMember name="Pieter Vanderwerff" permalink="pieter-vanderwerff" photo="/images/team/pieter.jpg" github="pieterv" threads="pietervanderwerff" title="Engineer at Meta">
70+
Pieter studied building science but after failing to get a job he made himself a website and things escalated from there. At Meta, he enjoys working on performance, languages and now React. When he's not programming you can find him off-road in the mountains.
6371
</TeamMember>
6472

6573
<TeamMember name="Rick Hanlon" permalink="rick-hanlon" photo="/images/team/rickhanlonii.jpg" github="rickhanlonii" twitter="rickhanlonii" threads="rickhanlonii" bsky="ricky.fm" title="Engineer at Meta">
@@ -70,10 +78,6 @@ Current members of the React team are listed in alphabetical order below.
7078
Ruslan's introduction to UI programming started when he was a kid by manually editing HTML templates for his custom gaming forums. Somehow, he ended up majoring in Computer Science. He enjoys music, games, and memes. Mostly memes.
7179
</TeamMember>
7280

73-
<TeamMember name="Sathya Gunasekaran " permalink="sathya-gunasekaran" photo="/images/team/sathya.jpg" github="gsathya" twitter="_gsathya" threads="gsathya.03" title="Engineer at Meta">
74-
Sathya hated the Dragon Book in school but somehow ended up working on compilers all his career. When he's not compiling React components, he's either drinking coffee or eating yet another Dosa.
75-
</TeamMember>
76-
7781
<TeamMember name="Sebastian Markbåge" permalink="sebastian-markbåge" photo="/images/team/sebmarkbage.jpg" github="sebmarkbage" twitter="sebmarkbage" threads="sebmarkbage" title="Engineer at Vercel">
7882
Sebastian majored in psychology. He's usually quiet. Even when he says something, it often doesn't make sense to the rest of us until a few months later. The correct way to pronounce his surname is "mark-boa-geh" but he settled for "mark-beige" out of pragmatism -- and that's how he approaches React.
7983
</TeamMember>
@@ -90,10 +94,6 @@ Current members of the React team are listed in alphabetical order below.
9094
Four days after React was released, Sophie rewrote the entirety of her then-current project to use it, which she now realizes was perhaps a bit reckless. After she became the project's #1 committer, she wondered why she wasn't getting paid by Facebook like everyone else was and joined the team officially to lead React through its adolescent years. Though she quit that job years ago, somehow she's still in the team's group chats and “providing value”.
9195
</TeamMember>
9296

93-
<TeamMember name="Tianyu Yao" permalink="tianyu-yao" photo="/images/team/tianyu.jpg" github="tyao1" twitter="tianyu0" title="Engineer at Meta">
94-
Tianyu’s interest in computers started as a kid because he loves video games. So he majored in computer science and still plays childish games like League of Legends. When he is not in front of a computer, he enjoys playing with his two kittens, hiking and kayaking.
95-
</TeamMember>
96-
9797
<TeamMember name="Yuzhi Zheng" permalink="yuzhi-zheng" photo="/images/team/yuzhi.jpg" github="yuzhi" twitter="yuzhiz" threads="yuzhiz" title="Engineering Manager at Meta">
9898
Yuzhi studied Computer Science in school. She liked the instant gratification of seeing code come to life without having to physically be in a laboratory. Now she’s a manager in the React org. Before management, she used to work on the Relay data fetching framework. In her spare time, Yuzhi enjoys optimizing her life via gardening and home improvement projects.
9999
</TeamMember>

src/content/learn/add-react-to-an-existing-project.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,13 @@ npm install react react-dom
5858

5959
<Sandpack>
6060

61-
```html index.html hidden
61+
```html public/index.html hidden
6262
<!DOCTYPE html>
6363
<html>
6464
<head><title>My app</title></head>
6565
<body>
6666
<!-- 기존 페이지 컨텐츠 (이 예시에서는 이 부분이 대체됩니다)-->
67+
<div id="root"></div>
6768
</body>
6869
</html>
6970
```
@@ -121,7 +122,7 @@ root.render(<h1>Hello, world</h1>);
121122

122123
<Sandpack>
123124

124-
```html index.html
125+
```html public/index.html
125126
<!DOCTYPE html>
126127
<html>
127128
<head><title>My app</title></head>

src/content/reference/react-dom/client/createRoot.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ root.render(<App />);
142142
143143
<Sandpack>
144144
145-
```html index.html
145+
```html public/index.html
146146
<!DOCTYPE html>
147147
<html>
148148
<head><title>My app</title></head>
@@ -372,7 +372,7 @@ You can use the `onUncaughtError` root option to display error dialogs:
372372
373373
<Sandpack>
374374
375-
```html index.html hidden
375+
```html public/index.html hidden
376376
<!DOCTYPE html>
377377
<html>
378378
<head>
@@ -603,7 +603,7 @@ You can use the `onCaughtError` root option to display error dialogs or filter k
603603
604604
<Sandpack>
605605
606-
```html index.html hidden
606+
```html public/index.html hidden
607607
<!DOCTYPE html>
608608
<html>
609609
<head>
@@ -882,7 +882,7 @@ You can use the `onRecoverableError` root option to display error dialogs:
882882
883883
<Sandpack>
884884
885-
```html index.html hidden
885+
```html public/index.html hidden
886886
<!DOCTYPE html>
887887
<html>
888888
<head>

src/content/reference/react-dom/client/hydrateRoot.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ root.render(<App />);
401401
402402
<Sandpack>
403403
404-
```html index.html hidden
404+
```html public/index.html hidden
405405
<!DOCTYPE html>
406406
<html>
407407
<head>
@@ -634,7 +634,7 @@ root.render(<App />);
634634
635635
<Sandpack>
636636
637-
```html index.html hidden
637+
```html public/index.html hidden
638638
<!DOCTYPE html>
639639
<html>
640640
<head>
@@ -914,7 +914,7 @@ Hydration 불일치에 대한 대화 상자를 표시하려면 `onRecoverableErr
914914
915915
<Sandpack>
916916
917-
```html index.html hidden
917+
```html public/index.html hidden
918918
<!DOCTYPE html>
919919
<html>
920920
<head>

src/content/reference/react-dom/createPortal.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ Portal은 React 루트가 React로 빌드되지 않은 정적 또는 서버 렌
251251
252252
<Sandpack>
253253
254-
```html index.html
254+
```html public/index.html
255255
<!DOCTYPE html>
256256
<html>
257257
<head><title>My app</title></head>

src/content/reference/react-dom/static/prerender.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ async function renderToString() {
230230
bootstrapScripts: ['/main.js']
231231
});
232232

233-
const reader = stream.getReader();
233+
const reader = prelude.getReader();
234234
let content = '';
235235
while (true) {
236236
const {done, value} = await reader.read();

0 commit comments

Comments
 (0)