JSFoo Pune 2020

JSFoo Pune 2020

On component architecture, performance, security for front-end, and emerging trends

Tickets

Loading…

Santosh Viswanatham

@viswanathamsantosh

Optional Chaining and Null coalescing: Using ES Next already

Submitted Feb 9, 2020

Optional Chaining and Null Coalescing are two amazing features that are to be shipped soon in JavaScript. The top errors that generally occur in a JavaScript codebase can be handled with these two upcoming features. They solve a complex error-handling problem that JS Developers face when working with variables and objects or references in general in the most effective manner. Although they are in the development stage, we can start using them already with our build tool plugins and the latest TS version. We will explore how useful these two features would be, the current status and How we can start using them already in our projects.

I will also go through the existing hacks developers follow and how it is going to change with these ES Next proposals.

Outline

Optional Chaining
What is it?
Usecases
Code samples
Current Hacks
Current Status
Integrating with our build tools

Null Coalescing
What is it?
Usecases
Code samples
Current Hacks
Current Status
Integrating with our build tools

Speaker bio

Santosh is an open web philanthropist, Tech Speaker at Mozilla and a Senior Development Engineer at Pramati. He eats Vanilla JS for Breakfast and tweets at @isantoshv. Santosh is a Mozilla Rep and a Participation leader at Mozilla and he loves working with a diverse group of people. He has given talks on WebVR, Cross-Platform extensions, Devtools, Firefox OS in the past. For his contributions to Mozilla, His name is listed in about:credits of every shipped Firefox Browser. When he is not glued to his computer you will find him reading books, watching movies, trying not to cook badly.

Slides

https://docs.google.com/presentation/d/1K4ndLLOMXgA5QVbpQpd_DKVQUCN2ABRcPPQqAWdGU94/edit?usp=sharing

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hybrid access (members only)

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more