Skip to content

Commit e05a11b

Browse files
committed
Merge branch 'main' into sync-8201e7e9
2 parents d6e9322 + 31bb989 commit e05a11b

File tree

9 files changed

+23
-24
lines changed

9 files changed

+23
-24
lines changed

.github/workflows/analyze.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ jobs:
2020
cache: yarn
2121
cache-dependency-path: yarn.lock
2222

23-
<<<<<<< HEAD
24-
- name: Install dependencies
25-
uses: bahmutov/[email protected]
26-
with:
27-
install-command: yarn
28-
=======
2923
- name: Restore cached node_modules
3024
uses: actions/cache@v4
3125
with:
@@ -34,7 +28,6 @@ jobs:
3428

3529
- name: Install deps
3630
run: yarn install --frozen-lockfile
37-
>>>>>>> 8201e7e9203321bd1648c3ab0b76ef943c9ec3ad
3831

3932
- name: Restore next build
4033
uses: actions/cache@v4
67.2 KB
Loading
68.4 KB
Loading
67.1 KB
Loading
67.7 KB
Loading

src/components/MDX/Diagram.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ interface DiagramProps {
1515

1616
function Caption({text}: {text: string}) {
1717
return (
18-
<div className="w-full table">
19-
<figcaption className="p-1 sm:p-2 mt-0 sm:mt-0 text-gray-40 text-base lg:text-lg text-center leading-tight table-caption">
18+
<div className="w-full flex justify-center">
19+
<figcaption className="p-1 sm:p-2 mt-0 sm:mt-0 text-gray-40 text-base lg:text-lg text-center leading-tight table-caption max-w-lg">
2020
{text}
2121
</figcaption>
2222
</div>

src/content/blog/2024/04/25/react-19-upgrade-guide.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,24 @@ When double rendering in Strict Mode in development, `useMemo` and `useCallback`
536536

537537
As with all Strict Mode behaviors, these features are designed to proactively surface bugs in your components during development so you can fix them before they are shipped to production. For example, during development, Strict Mode will double-invoke ref callback functions on initial mount, to simulate what happens when a mounted component is replaced by a Suspense fallback.
538538

539+
### Improvements to Suspense {/*improvements-to-suspense*/}
540+
541+
In React 19, when a component suspends, React will immediately commit the fallback of the nearest Suspense boundary without waiting for the entire sibling tree to render. After the fallback commits, React schedules another render for the suspended siblings to "pre-warm" lazy requests in the rest of the tree:
542+
543+
<Diagram name="prerender" height={162} width={1270} alt="Diagram showing a tree of three components, one parent labeled Accordion and two children labeled Panel. Both Panel components contain isActive with value false.">
544+
545+
Previously, when a component suspended, the suspended siblings were rendered and then the fallback was committed.
546+
547+
</Diagram>
548+
549+
<Diagram name="prewarm" height={162} width={1270} alt="The same diagram as the previous, with the isActive of the first child Panel component highlighted indicating a click with the isActive value set to true. The second Panel component still contains value false." >
550+
551+
In React 19, when a component suspends, the fallback is committed and then the suspended siblings are rendered.
552+
553+
</Diagram>
554+
555+
This change means Suspense fallbacks display faster, while still warming lazy requests in the suspended tree.
556+
539557
### UMD builds removed {/*umd-builds-removed*/}
540558

541559
UMD was widely used in the past as a convenient way to load React without a build step. Now, there are modern alternatives for loading modules as scripts in HTML documents. Starting with React 19, React will no longer produce UMD builds to reduce the complexity of its testing and release process.

src/content/community/team.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,11 @@ Current members of the React team are listed in alphabetical order below.
3838
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.
3939
</TeamMember>
4040

41-
<TeamMember name="Josh Story" permalink="josh-story" photo="/images/team/josh.jpg" github="gnoff" twitter="joshcstory" title="Engineer at Vercel">
41+
<TeamMember name="Josh Story" permalink="josh-story" photo="/images/team/josh.jpg" github="gnoff" bsky="storyhb.com" title="Engineer at Vercel">
4242
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.
4343
</TeamMember>
4444

45-
<<<<<<< HEAD
46-
<TeamMember name="Kathryn Middleton" permalink="kathryn-middleton" photo="/images/team/kathryn-middleton.jpg" github="kmiddleton14" twitter="kmiddleton14" title="Engineering Manager at Meta">
47-
Kathryn initially discovered web development when she wanted to make her myspace page look cool. She ended up majoring in Computer Science, and quickly became a huge fan of React building features on the Instagram.com team. Outside of work she loves playing pingpong, teaching spin classes, and going plant shopping.
48-
</TeamMember>
49-
50-
<TeamMember name="Lauren Tan" permalink="lauren-tan" photo="/images/team/lauren.jpg" github="poteto" twitter="potetotes" threads="potetotes" personal="no.lol" title="Engineer at Meta">
51-
=======
5245
<TeamMember name="Lauren Tan" permalink="lauren-tan" photo="/images/team/lauren.jpg" github="poteto" twitter="potetotes" threads="potetotes" bsky="no.lol" title="Engineer at Meta">
53-
>>>>>>> 8201e7e9203321bd1648c3ab0b76ef943c9ec3ad
5446
Lauren's programming career peaked when she first discovered the `<marquee>` tag. She’s been chasing that high ever since. She studied Finance instead of CS in college, so she learned to code using Excel instead of Java. Lauren enjoys dropping cheeky memes in chat, playing video games with her partner, and petting her dog Zelda.
5547
</TeamMember>
5648

@@ -66,15 +58,11 @@ Current members of the React team are listed in alphabetical order below.
6658
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).
6759
</TeamMember>
6860

69-
<<<<<<< HEAD
70-
<TeamMember name="Rick Hanlon" permalink="rick-hanlon" photo="/images/team/rickhanlonii.jpg" github="rickhanlonii" twitter="rickhanlonii" threads="rickhanlonii" personal="rickhanlon.codes" title="Engineer at Meta">
71-
=======
7261
<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">
7362
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.
7463
</TeamMember>
7564

7665
<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">
77-
>>>>>>> 8201e7e9203321bd1648c3ab0b76ef943c9ec3ad
7866
Ricky majored in theoretical math and somehow found himself on the React Native team for a couple years before joining the React team. When he's not programming you can find him snowboarding, biking, climbing, golfing, or closing GitHub issues that do not match the issue template.
7967
</TeamMember>
8068

src/content/learn/react-compiler.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ export default defineConfig(() => {
278278

279279
### Next.js {/*usage-with-nextjs*/}
280280

281-
Please refer to the [Next.js docs](https://nextjs.org/docs/canary/app/api-reference/next-config-js/reactCompiler) for more information.
281+
Please refer to the [Next.js docs](https://nextjs.org/docs/app/api-reference/next-config-js/reactCompiler) for more information.
282282

283283
### Remix {/*usage-with-remix*/}
284284
Install `vite-plugin-babel`, and add the compiler's Babel plugin to it:
@@ -315,7 +315,7 @@ A community Webpack loader is [now available here](https://github.com/SukkaW/rea
315315

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

318-
Please refer to [Expo's docs](https://docs.expo.dev/preview/react-compiler/) to enable and use the React Compiler in Expo apps.
318+
Please refer to [Expo's docs](https://docs.expo.dev/guides/react-compiler/) to enable and use the React Compiler in Expo apps.
319319

320320
### Metro (React Native) {/*usage-with-react-native-metro*/}
321321

0 commit comments

Comments
 (0)