Fireship · @fireship

15 crazy new JS framework features you don’t know yet

Uploaded May 28, 2024 · Length 6:11

15 crazy new JS framework features you don’t know yet

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.

  1. 0:00

    last week versell unveiled NEX js15 and

  2. 0:03

    it's got some awesome new features you

  3. 0:04

    don't need like partial pre-rendering

  4. 0:06

    however this is just the tip of the

  5. 0:07

    iceberg for gamechanging new JavaScript

  6. 0:09

    framework updates in the last few months

  7. 0:11

    the good news is that web developers

  8. 0:13

    have all sorts of shiny new tools to

  9. 0:15

    play with but the bad news is that any

  10. 0:17

    web app you built before watching this

  11. 0:18

    video contains totally obsolete Legacy

  12. 0:20

    code and will need to be Rewritten

  13. 0:22

    immediately in today's video we'll look

  14. 0:24

    at not one not two but a ridiculous 15

  15. 0:27

    new features in frontend JavaScript

  16. 0:28

    Frameworks that you probably don't know

  17. 0:30

    yet it is May 28th 2024 and you watching

  18. 0:33

    the code report but first we need to

  19. 0:35

    talk about react 19 and its new compiler

  20. 0:37

    feature I made a full video about this a

  21. 0:39

    few weeks ago but basically it takes a

  22. 0:41

    hint from Frameworks like spelt and

  23. 0:43

    solid to compile code ahead of time

  24. 0:45

    instead of using the virtual Dom which

  25. 0:46

    allows the framework to eliminate hooks

  26. 0:48

    like use memo and use callback because

  27. 0:50

    now it already knows what needs to be

  28. 0:52

    rendered and you don't need to jump

  29. 0:53

    through these hoops to do it in your

  30. 0:54

    code that's a huge win for react and

  31. 0:56

    brings us to the updates in nextjs 15

  32. 0:59

    next1 15 already has support for the

  33. 1:01

    react 19 compiler but I think the most

  34. 1:03

    interesting new feature is something

  35. 1:04

    called partial pre-rendering normally

  36. 1:06

    when you render a web page in next it's

  37. 1:08

    either static when the data doesn't

  38. 1:10

    change very often or it's Dynamic when

  39. 1:11

    the data is uncashed and it's constantly

  40. 1:14

    changing but sometimes you might have a

  41. 1:15

    page that requires both like maybe you

  42. 1:18

    have a blog post that could be

  43. 1:19

    statically rendered but then it has a

  44. 1:20

    bunch of comments below it that should

  45. 1:22

    be dynamically rendered well now you can

  46. 1:23

    put static content and dynamic content

  47. 1:25

    on the same page but handle everything

  48. 1:27

    from a single HTTP request but if if

  49. 1:29

    you're not using nextjs there's a good

  50. 1:31

    chance you're using its arch nemesis

  51. 1:33

    remix or react router well a couple

  52. 1:35

    weeks ago they announced that these two

  53. 1:37

    tools are now becoming one and the same

  54. 1:38

    it's called remix for a reason in the

  55. 1:40

    future you'll get to remix your remix

  56. 1:42

    code back into react router code but if

  57. 1:44

    that exceeds your tolerance for

  58. 1:46

    Ridiculousness another routing option

  59. 1:47

    can be found in the tan stack it

  60. 1:49

    provides a variety of tools that work on

  61. 1:51

    multiple Frameworks including react but

  62. 1:53

    what's interesting is that it's cooking

  63. 1:54

    up a new project called tan stack start

  64. 1:56

    that provides features like server side

  65. 1:58

    rendering thus making next JS and remix