Fireship · @fireship

The Future of JavaScript - New Features and Disruptive Trends in 2020

Uploaded December 16, 2019 · Length 10:51

The Future of JavaScript -  New Features and Disruptive Trends in 2020

Summary

The video discusses new features and trends in JavaScript, including dynamic imports, optional chaining, and big ints, as well as the rise of TypeScript and updates to front-end frameworks like React, Angular, and Vue.

  • javascript future
  • typescript trends
  • react updates
  • angular ivy
  • vue composition api
  • web authentication api
  • native file system api

Transcript preview

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

  1. 0:00

    prediction is very difficult especially

  2. 0:01

    if it's about the future and even more

  3. 0:03

    so if it's about the future of

  4. 0:04

    JavaScript as app developers will be

  5. 0:07

    spending the rest of our lives in the

  6. 0:08

    future of JavaScript so in today's video

  7. 0:10

    we'll look at new features coming to the

  8. 0:11

    language the current state of front-end

  9. 0:13

    frameworks and new features they're

  10. 0:14

    releasing as well as disruptive trends

  11. 0:16

    that could change everything in 2020 and

  12. 0:18

    if you're here because you paid

  13. 0:19

    JavaScript make sure to stay tuned until

  14. 0:21

    the end because we'll look at a few

  15. 0:22

    tools that you can use to build web apps

  16. 0:24

    without JavaScript the future of

  17. 0:26

    JavaScript isn't what it used to be make

  18. 0:28

    sure to LIKE and subscribe and let me

  19. 0:30

    know what you think about javascript in

  20. 0:31

    the comments below one lucky comment

  21. 0:33

    will win this one of a kind t-shirt

  22. 0:34

    let's start things off by taking a look

  23. 0:36

    at some of the newest features coming to

  24. 0:38

    a javascript near you in 2020 and if you

  25. 0:40

    don't already know how new features make

  26. 0:42

    their way into the language make sure to

  27. 0:44

    check out my history of JavaScript video

  28. 0:45

    it explains the purpose of Technical

  29. 0:47

    Committee 39 and how proposals make

  30. 0:49

    their way into the language as actual

  31. 0:51

    features you can see all the proposals

  32. 0:54

    on github there are currently eight

  33. 0:55

    finished proposals slated to be

  34. 0:57

    published in 2020 but many of them have

  35. 0:59

    already been shipped to the browser no

  36. 1:00

    js' in typescript so you can start using

  37. 1:02

    them today let's take a look at a few of

  38. 1:04

    the big ones and see why they're awesome

  39. 1:06

    and when you would want to use them

  40. 1:07

    dynamic imports a function that allows

  41. 1:09

    you to lazily import a module at runtime

  42. 1:12

    in other words your imports no longer

  43. 1:14

    have to be static at the top of the file

  44. 1:16

    you can load modules asynchronously from

  45. 1:18

    anywhere in your code this means you can

  46. 1:20

    delay the loading of non-essential

  47. 1:21

    dependencies in your application to

  48. 1:23

    improve performance notice in this code

  49. 1:25

    snippet how we're awaiting the loading

  50. 1:27

    of a module as a promise when the user

  51. 1:29

    clicks a button next we have optional

  52. 1:31

    chaining which is the most popular new

  53. 1:32

    feature according to my extremely

  54. 1:34

    limited Twitter poll we call it the

  55. 1:36

    Elvis operator for obvious reasons if

  56. 1:38

    you've ever used angular it should look

  57. 1:39

    very familiar to you it makes it

  58. 1:41

    possible to call a deeply nested object

  59. 1:43

    property without throwing an error if

  60. 1:45

    its parent property is undefined if

  61. 1:47

    you've ever used the low - git function

  62. 1:49

    this is a good replacement for it it's

  63. 1:51

    extremely useful if you're working with

  64. 1:53

    an API or database that returns a bunch

  65. 1:55

    of deeply nested

  66. 1:56

    objects and you don't want your app to

  67. 1:57

    break it run time if intermediate

  68. 1:59

    properties on those objects are