You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/blog/2024/04/25/react-19-upgrade-guide.md
+18
Original file line number
Diff line number
Diff line change
@@ -536,6 +536,24 @@ When double rendering in Strict Mode in development, `useMemo` and `useCallback`
536
536
537
537
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.
538
538
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
+
<Diagramname="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
+
<Diagramname="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
+
539
557
### UMD builds removed {/*umd-builds-removed*/}
540
558
541
559
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.
Copy file name to clipboardExpand all lines: src/content/community/acknowledgements.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ title: Acknowledgements
4
4
5
5
<Intro>
6
6
7
-
React was originally created by [Jordan Walke.](https://github.com/jordwalke) Today, React has a [dedicated full-time team working on it](/community/team), as well as over a thousand [open source contributors.](https://github.com/facebook/react/blob/main/AUTHORS)
7
+
React was originally created by [Jordan Walke.](https://github.com/jordwalke) Today, React has a [dedicated full-time team working on it](/community/team), as well as over a thousand [open source contributors.](https://github.com/facebook/react/graphs/contributors)
Copy file name to clipboardExpand all lines: src/content/community/team.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Current members of the React team are listed in alphabetical order below.
18
18
Andrew got started with web development by making sites with WordPress, and eventually tricked himself into doing JavaScript. His favorite pastime is karaoke. Andrew is either a Disney villain or a Disney princess, depending on the day.
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.
23
23
</TeamMember>
24
24
@@ -38,11 +38,11 @@ Current members of the React team are listed in alphabetical order below.
38
38
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.
39
39
</TeamMember>
40
40
41
-
<TeamMembername="Josh Story"permalink="josh-story"photo="/images/team/josh.jpg"github="gnoff"twitter="joshcstory"title="Engineer at Vercel">
41
+
<TeamMembername="Josh Story"permalink="josh-story"photo="/images/team/josh.jpg"github="gnoff"bsky="storyhb.com"title="Engineer at Vercel">
42
42
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.
43
43
</TeamMember>
44
44
45
-
<TeamMembername="Lauren Tan"permalink="lauren-tan"photo="/images/team/lauren.jpg"github="poteto"twitter="potetotes"threads="potetotes"personal="no.lol"title="Engineer at Meta">
45
+
<TeamMembername="Lauren Tan"permalink="lauren-tan"photo="/images/team/lauren.jpg"github="poteto"twitter="potetotes"threads="potetotes"bsky="no.lol"title="Engineer at Meta">
46
46
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.
47
47
</TeamMember>
48
48
@@ -62,7 +62,7 @@ Current members of the React team are listed in alphabetical order below.
62
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.
63
63
</TeamMember>
64
64
65
-
<TeamMembername="Rick Hanlon"permalink="rick-hanlon"photo="/images/team/rickhanlonii.jpg"github="rickhanlonii"twitter="rickhanlonii"threads="rickhanlonii"personal="rickhanlon.codes"title="Engineer at Meta">
65
+
<TeamMembername="Rick Hanlon"permalink="rick-hanlon"photo="/images/team/rickhanlonii.jpg"github="rickhanlonii"twitter="rickhanlonii"threads="rickhanlonii"bsky="ricky.fm"title="Engineer at Meta">
66
66
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.
0 commit comments