Fireship · @fireship
The growing divide among React developers…
Uploaded May 5, 2025 · Length 5:40
Summary
React developers are divided over the introduction of server components, which require a bundler, server, and client-side router, and are closely tied to Next.js.
- react server components
- next js
- javascript frameworks
- web development
- react ecosystem
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
Don't tell anyone, but while AI has been
- 0:02
taking their jobs, react devs have been
- 0:04
too busy fighting their own civil war to
- 0:05
even notice. On one side of the
- 0:07
battlefield, you have the rebels
- 0:08
fighting for their women, children, and
- 0:10
the simplicity of React tooling. On the
- 0:12
other, you have Team Iceland from the
- 0:13
Mighty Ducks trying to sell you cloud
- 0:15
infrastructure and hosting services. In
- 0:17
today's video, we'll break down both
- 0:19
sides of the debate so you can be
- 0:20
informed on all the latest React drama
- 0:22
when you're standing in line at the soup
- 0:23
kitchen. It is May 5th, 2025, and you're
- 0:26
watching the Code Report. If you've been
- 0:27
feeling happy or fulfilled over the last
- 0:29
few years, you probably missed that
- 0:31
React, everyone's favorite fun and
- 0:32
flirty UI library, hit puberty, started
- 0:34
rage listening to Limp Biscuit, and
- 0:36
seemingly changed its whole identity.
- 0:38
When React first launched, despite some
- 0:39
early hate, it quickly grew in
- 0:41
popularity because it made the view a
- 0:43
function of your application state. And
- 0:44
all you had to do was worry about how
- 0:46
the state of your application changed,
- 0:47
and React would handle the rest. React
- 0:49
today follows the same ethos, but that's
- 0:52
only half of the picture now. What used
- 0:53
to be a client-only library has
- 0:55
metastasized across the network to take
- 0:57
over the server. Take this code for
- 0:59
example. This is a perfectly valid React
- 1:01
server component. It doesn't need to
- 1:03
follow the traditional rules of React
- 1:04
like not fetching data during render
- 1:06
because it doesn't have the same
- 1:07
constraints as a typical React
- 1:09
component. In a way, you can think of
- 1:10
server components as fancy serializable
- 1:13
HTML template generators. Their entire
- 1:15
job is to compute the UI and ship it to
- 1:18
the client. Conceptually, this is pretty
- 1:19
simple, but it enables some pretty cool
- 1:21
stuff. And take this one for example. If
- 1:23
this were a traditional React component,
- 1:25
the entire pop-up library would be
- 1:27
included in the JavaScript bundle that
- 1:29
the user would need to download before
- 1:30
sending anything on the screen. With
- 1:32
server components, all that's shipped to
- 1:34
the client is the end result of the
- 1:35
computation. In this case, just the
- 1:37
final table and some instructions for
- 1:39
React to follow during hydration. And
- 1:41
more important than the bundle may be
- 1:42
the compositional benefits. Again, React
- 1:45
pioneered the idea of bringing
- 1:46
composition to the front end by allowing
- 1:48
you to create a UI by composing
- 1:50
different components together. all of
- 1:51
which could be isolated from one another
- 1:53
and each manage their own state. If done
- 1:55
correctly, composition can lead to a
- 1:57
more flexible, more maintainable, and
- 1:59
more scalable codebase. It's what allows


