Coding / Programming Videos

Post your favorite coding videos and share them with others!

React Native # 2 – JavaScript ES6 / ES2015 Essential Features

Download Video link >



React Native # 2 – JavaScript ES6 / ES2015 Essential Features

🔥Menu
⌨️ 0:50 | const and let
⌨️6:21 | Arrow Function
⌨️10:22 | Default Value
⌨️12:03 | Class
⌨️21:20 | Set
⌨️22:42 | Object Initializer
⌨️26:33 | Destructure
⌨️31:12 | Spread Operator
⌨️36:19 | Modules Import / Export
⌨️42:31 | Promise
⌨️47:51 | Async / Await (ES2017)

🎯Github Code: https://git.io/fhjMS
🔥More Tutorials: https://thinkdiff.net

#ES6 / ES2015 introduced many new #JavaScript features which we regularly use to write code in #React and React Native applications. If you do not know this features you have to learn this, otherwise it will be tough for you to understand other people’s code.

In this video, I will discuss different between var, let and const keywords and why let and const are more appropriate than var.

I will discuss arrow function in JavaScript ES6 / ES2015. We can write arrow function in much elegant and short way which I have mentioned in this video.

ES6 also introduced new way to write class. Basically JavaScript classes are syntactic sugar over existing prototype based inheritance. We will learn static properties, constructor and inheritance.

ES2015 also introduced set data structure which is very important to store unique values.

Using ES6 we can use shorthand property name in object. When object property name and initializing variable name are same we can use shorthand syntax.

Destructuring is an easier way to access properties in objects and arrays. We will learn how to do that in this video. Using spread operator we can retrieve each and every element from an array or object.

The most important thing in ES6 is Promise object. A promise object represents an eventual completion or failure for an asynchronous operation. When a pending promise either fulfilled or rejected and if a corresponding handler is attached by ‘then’ method, the handler will be called.

ES2017 which is way to come have async/await feature. async/await functions are built onto promise. A function starts with async keyword means, it will must return a promise either implicitly or explicitly.

We will also learn how to export constant, objects, functions or class from one module to another module.

source

Bookmark(0)
 

 

View Comments source >

Transcript view all >

00:01 [Music]

00:03 hey they are this mom more than welcome

00:05 back to my another youtube video

00:07 tutorials today I will discuss some

00:09 important if my skip 6 JavaScript

Leave a Reply

Please Login to comment
  Subscribe  
Notify of
Translate »