Fireship · @fireship
The Future of JavaScript - New Features and Disruptive Trends in 2020
Uploaded December 16, 2019 · Length 10:51
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.
- 0:00
prediction is very difficult especially
- 0:01
if it's about the future and even more
- 0:03
so if it's about the future of
- 0:04
JavaScript as app developers will be
- 0:07
spending the rest of our lives in the
- 0:08
future of JavaScript so in today's video
- 0:10
we'll look at new features coming to the
- 0:11
language the current state of front-end
- 0:13
frameworks and new features they're
- 0:14
releasing as well as disruptive trends
- 0:16
that could change everything in 2020 and
- 0:18
if you're here because you paid
- 0:19
JavaScript make sure to stay tuned until
- 0:21
the end because we'll look at a few
- 0:22
tools that you can use to build web apps
- 0:24
without JavaScript the future of
- 0:26
JavaScript isn't what it used to be make
- 0:28
sure to LIKE and subscribe and let me
- 0:30
know what you think about javascript in
- 0:31
the comments below one lucky comment
- 0:33
will win this one of a kind t-shirt
- 0:34
let's start things off by taking a look
- 0:36
at some of the newest features coming to
- 0:38
a javascript near you in 2020 and if you
- 0:40
don't already know how new features make
- 0:42
their way into the language make sure to
- 0:44
check out my history of JavaScript video
- 0:45
it explains the purpose of Technical
- 0:47
Committee 39 and how proposals make
- 0:49
their way into the language as actual
- 0:51
features you can see all the proposals
- 0:54
on github there are currently eight
- 0:55
finished proposals slated to be
- 0:57
published in 2020 but many of them have
- 0:59
already been shipped to the browser no
- 1:00
js' in typescript so you can start using
- 1:02
them today let's take a look at a few of
- 1:04
the big ones and see why they're awesome
- 1:06
and when you would want to use them
- 1:07
dynamic imports a function that allows
- 1:09
you to lazily import a module at runtime
- 1:12
in other words your imports no longer
- 1:14
have to be static at the top of the file
- 1:16
you can load modules asynchronously from
- 1:18
anywhere in your code this means you can
- 1:20
delay the loading of non-essential
- 1:21
dependencies in your application to
- 1:23
improve performance notice in this code
- 1:25
snippet how we're awaiting the loading
- 1:27
of a module as a promise when the user
- 1:29
clicks a button next we have optional
- 1:31
chaining which is the most popular new
- 1:32
feature according to my extremely
- 1:34
limited Twitter poll we call it the
- 1:36
Elvis operator for obvious reasons if
- 1:38
you've ever used angular it should look
- 1:39
very familiar to you it makes it
- 1:41
possible to call a deeply nested object
- 1:43
property without throwing an error if
- 1:45
its parent property is undefined if
- 1:47
you've ever used the low - git function
- 1:49
this is a good replacement for it it's
- 1:51
extremely useful if you're working with
- 1:53
an API or database that returns a bunch
- 1:55
of deeply nested
- 1:56
objects and you don't want your app to
- 1:57
break it run time if intermediate
- 1:59
properties on those objects are


