Fireship · @fireship

Next.js 13… this changes everything

Uploaded October 26, 2022 · Length 6:16

Next.js 13… this changes everything

Summary

Fireship reviews Next.js 13's new features, including Turbo Pack, routing system, and data fetching, and discusses their implications and potential drawbacks.

  • next js 13
  • turbo pack
  • next js routing
  • data fetching
  • react server components
  • next js migration

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:01

    it is October 26 2022 and you're

  2. 0:04

    watching the code report just when you

  3. 0:06

    thought you had web development all

  4. 0:07

    figured out Along Comes an entirely new

  5. 0:09

    build tool and a complete overhaul of

  6. 0:11

    your favorite framework we're ready for

  7. 0:13

    a new paradigm not enough men's and

  8. 0:15

    disease of evil

  9. 0:17

    the reality

  10. 0:18

    [Music]

  11. 0:20

    JavaScript it's a wild ride next JS comp

  12. 0:23

    happened yesterday and they made an

  13. 0:24

    extremely ballsy move to take the

  14. 0:26

    world's most popular JavaScript

  15. 0:27

    framework and linchpin of a unicorn

  16. 0:29

    startup and totally change up the

  17. 0:31

    developer experience as you're about to

  18. 0:32

    see these new features are game changing

  19. 0:34

    and blazingly fast but they're not

  20. 0:36

    without their trade-offs buckle up

  21. 0:37

    because we've got a lot to unpack

  22. 0:39

    starting with a brand new build tool

  23. 0:41

    called turbo pack now I know you just

  24. 0:43

    switched over to the next gen build tool

  25. 0:44

    V last week but a new character is

  26. 0:46

    spawned versel employs Tobias coppers

  27. 0:48

    the creator of webpack who knows a thing

  28. 0:50

    or two about module bundling turbo pack

  29. 0:52

    was built from the ground up with rust

  30. 0:54

    which appeals to our novelty bias and it

  31. 0:56

    integrates turbo repo to Cache duplicate

  32. 0:58

    operations together these factors can

  33. 1:00

    satisfy your need for blazingly fast

  34. 1:02

    speed turbo pack shows updates 10 times

  35. 1:05

    faster than Veet and 700 times faster

  36. 1:08

    than webpack shots fired shots fired

  37. 1:12

    turbo pack sounds amazing but it's

  38. 1:13

    currently an alpha and I'm a bit

  39. 1:15

    skeptical there's a massive ecosystem of

  40. 1:17

    webpack plugins that will likely make

  41. 1:19

    migration very hard for existing apps

  42. 1:21

    Versa will likely need to count on

  43. 1:23

    community contributions with some kind

  44. 1:24

    of plug-in system and that might be

  45. 1:26

    difficult because JavaScript developers

  46. 1:28

    like me are too dumb and lazy to learn

  47. 1:30

    rust furthermore these speed gains are

  48. 1:31

    mostly relevant to Big Enterprise

  49. 1:33

    projects where teams over engineer these

  50. 1:35

    giant monstrosities to guarantee job

  51. 1:37

    security Veet with es build is already

  52. 1:39

    fast enough for most projects and it's

  53. 1:41

    got an awesome developer experience

  54. 1:42

    that's hard to beat you should also know

  55. 1:44

    that Purcell has an angle to make money

  56. 1:45

    on this by remotely caching builds in

  57. 1:47

    the cloud and parcel has been using this

  58. 1:49

    architecture for a long time as well

  59. 1:51

    what's way more exciting for me is the

  60. 1:53

    brand new routing system the best

  61. 1:54

    possible router which adds a smorgasbord

  62. 1:57

    of new possibilities and performance

  63. 1:59

    improvements to the framework these are