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
+18Lines changed: 18 additions & 0 deletions
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/team.md
+1-13Lines changed: 1 addition & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -38,19 +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
-
<<<<<<< HEAD
46
-
<TeamMembername="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
-
<TeamMembername="Lauren Tan"permalink="lauren-tan"photo="/images/team/lauren.jpg"github="poteto"twitter="potetotes"threads="potetotes"personal="no.lol"title="Engineer at Meta">
51
-
=======
52
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">
53
-
>>>>>>> 8201e7e9203321bd1648c3ab0b76ef943c9ec3ad
54
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.
55
47
</TeamMember>
56
48
@@ -66,15 +58,11 @@ Current members of the React team are listed in alphabetical order below.
66
58
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).
67
59
</TeamMember>
68
60
69
-
<<<<<<< HEAD
70
-
<TeamMembername="Rick Hanlon"permalink="rick-hanlon"photo="/images/team/rickhanlonii.jpg"github="rickhanlonii"twitter="rickhanlonii"threads="rickhanlonii"personal="rickhanlon.codes"title="Engineer at Meta">
71
-
=======
72
61
<TeamMembername="Noah Lemen"permalink="noah-lemen"photo="/images/team/noahlemen.jpg"github="noahlemen"twitter="noahlemen"threads="noahlemen"personal="noahle.men"title="Engineer at Meta">
73
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.
74
63
</TeamMember>
75
64
76
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">
77
-
>>>>>>> 8201e7e9203321bd1648c3ab0b76ef943c9ec3ad
78
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