Fireship · @fireship
15 crazy new JS framework features you don’t know yet
Uploaded May 28, 2024 · Length 6:11
Summary
Fireship reviews 15 new JavaScript framework features, including React 19, Next.js 15, Remix, and more.
- javascript frameworks
- react 19
- next js 15
- remix
- javascript updates
- web development
- frontend development
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
last week versell unveiled NEX js15 and
- 0:03
it's got some awesome new features you
- 0:04
don't need like partial pre-rendering
- 0:06
however this is just the tip of the
- 0:07
iceberg for gamechanging new JavaScript
- 0:09
framework updates in the last few months
- 0:11
the good news is that web developers
- 0:13
have all sorts of shiny new tools to
- 0:15
play with but the bad news is that any
- 0:17
web app you built before watching this
- 0:18
video contains totally obsolete Legacy
- 0:20
code and will need to be Rewritten
- 0:22
immediately in today's video we'll look
- 0:24
at not one not two but a ridiculous 15
- 0:27
new features in frontend JavaScript
- 0:28
Frameworks that you probably don't know
- 0:30
yet it is May 28th 2024 and you watching
- 0:33
the code report but first we need to
- 0:35
talk about react 19 and its new compiler
- 0:37
feature I made a full video about this a
- 0:39
few weeks ago but basically it takes a
- 0:41
hint from Frameworks like spelt and
- 0:43
solid to compile code ahead of time
- 0:45
instead of using the virtual Dom which
- 0:46
allows the framework to eliminate hooks
- 0:48
like use memo and use callback because
- 0:50
now it already knows what needs to be
- 0:52
rendered and you don't need to jump
- 0:53
through these hoops to do it in your
- 0:54
code that's a huge win for react and
- 0:56
brings us to the updates in nextjs 15
- 0:59
next1 15 already has support for the
- 1:01
react 19 compiler but I think the most
- 1:03
interesting new feature is something
- 1:04
called partial pre-rendering normally
- 1:06
when you render a web page in next it's
- 1:08
either static when the data doesn't
- 1:10
change very often or it's Dynamic when
- 1:11
the data is uncashed and it's constantly
- 1:14
changing but sometimes you might have a
- 1:15
page that requires both like maybe you
- 1:18
have a blog post that could be
- 1:19
statically rendered but then it has a
- 1:20
bunch of comments below it that should
- 1:22
be dynamically rendered well now you can
- 1:23
put static content and dynamic content
- 1:25
on the same page but handle everything
- 1:27
from a single HTTP request but if if
- 1:29
you're not using nextjs there's a good
- 1:31
chance you're using its arch nemesis
- 1:33
remix or react router well a couple
- 1:35
weeks ago they announced that these two
- 1:37
tools are now becoming one and the same
- 1:38
it's called remix for a reason in the
- 1:40
future you'll get to remix your remix
- 1:42
code back into react router code but if
- 1:44
that exceeds your tolerance for
- 1:46
Ridiculousness another routing option
- 1:47
can be found in the tan stack it
- 1:49
provides a variety of tools that work on
- 1:51
multiple Frameworks including react but
- 1:53
what's interesting is that it's cooking
- 1:54
up a new project called tan stack start
- 1:56
that provides features like server side
- 1:58
rendering thus making next JS and remix


