Fireship · @fireship
React wants to win you back…
Uploaded October 17, 2025 · Length 4:11
Summary
React 19.2 updates, React compiler 1.0, and React's future foundation
- react updates
- react 19.2
- react compiler
- react future
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
Last week, I got to participate in my
- 0:02
favorite activity of the year. No, it
- 0:04
wasn't watching all the overleveraged
- 0:05
crypto bros learn what a margin call is.
- 0:07
It was hate watching React comp as an
- 0:10
anti-react influencer. Every year I
- 0:12
crawl into my spelled Snuggy and I watch
- 0:14
the React team try to convince everyone
- 0:16
that their new APIs fix all of their old
- 0:18
APIs. And though it hurts me to say it,
- 0:20
this year I think they may have actually
- 0:22
done it. I know this is an AI channel
- 0:23
now, but in today's video, we'll revisit
- 0:25
the worst parts of React to see if the
- 0:27
announcements they made at React Comp
- 0:29
will actually make a difference. It is
- 0:31
October 17th, 2025, and you're watching
- 0:34
the code report. The greatest trick the
- 0:35
devil ever pulled was making referential
- 0:38
stability a prerequisite to writing
- 0:40
React apps that don't blow up. Just last
- 0:42
month, Cloudflare had a massive outage
- 0:44
because their dashboard kept making
- 0:46
unnecessary calls to one of their own
- 0:47
APIs, which led to them basically
- 0:50
themselves. If you're a React dev, you
- 0:52
know this is the primary use case for
- 0:54
React's use effect hook. And it's
- 0:55
exactly what caused this embarrassing
- 0:57
bug for Cloudflare. But it's hard to
- 0:59
blame React for this. The whole
- 1:00
situation could have been avoided if
- 1:02
only the poor debit Cloudflare would
- 1:03
have read the docs on use effect. Then
- 1:05
this post which shows you when to use
- 1:07
it. Then this post which shows you when
- 1:08
to not use it. Then this post which
- 1:10
shows you what it actually does. Then
- 1:12
this post which shows you how to use it
- 1:14
correctly. And now with React 19.2. this
- 1:16
post which shows you how to work around
- 1:18
it with React's new use effect event
- 1:20
hook. The way it works is it creates a
- 1:22
function that you can use inside of use
- 1:24
effect without needing to declare it in
- 1:26
the dependency array. This is nice for
- 1:28
situations like this where you need to
- 1:30
use a value inside of use effect but
- 1:32
don't want the effect to rerun when it
- 1:34
changes. And the other big API addition
- 1:36
was the new activity component which you
- 1:38
can think of like a smarter display none
- 1:40
that React itself controls. It lets you
- 1:43
show and hide certain components, but
- 1:45
unlike display none, React is able to
- 1:47
maintain the state of those components
- 1:48
across visibility and also deprioritize
- 1:51
the work it does for hidden components.
- 1:53
And if you've been drinking your lead
- 1:54
lace protein and want to live on the
- 1:56
edge, you can install React's Canary
- 1:58
version where you'll get the new view


