ESXX Features in Lightning Web Components

Some weeks ago I decided to talk about modern JavaScript features that you can use in LWC. Usually there’s a lot of confusion around this topic, as people believe that only certain JavaScript features, from versions < ES9 can be used in LWC. But this is not true! You can use features from newer versions as long as your browser supports them. The only caveat is that we don’t transform them to ensure backwards compatibility. But that shouldn’t be a problem if your customers use a modern browser (often the case). I explain everything about this topic in the next videos. Watch the series to understand the guts of LWC compilation and why it’s true what I just said, and also learn about some the most interesting features from ES9 to ES12 that will make your code much more professional! If you prefer some reading, take a look at this blog post on our developer site.

Blog at WordPress.com.

Up ↑