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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: