Blog

Recent Posts

ES6 Destructuring

less than 1 minute read

Destructuring assignment allows you to assign the properties of an array or object to variables using syntax that looks similar to array or object literals. ...

ES6 Rest parameters

less than 1 minute read

The rest parameter syntax allows us to represent an indefinite number of arguments as an array. If you prefix a parameter name with the rest operator (…), th...

ES6 modules

2 minute read

ES6 is the first time JavaScript has built in modules.

What is npm-shrinkwrap ?

less than 1 minute read

npm-shrinkwrap command locks down the versions of a package’s dependencies so that you can control exactly which versions of each dependency will be used whe...

ES6 Spread Syntax

less than 1 minute read

The spread syntax allows an expression to be expanded in places where multiple arguments (for function calls) or multiple elements (for array literals) or mu...

What is a React Pure Component ?

less than 1 minute read

If React components render() function renders the same result given the same props and state , you can use PureComponent for a performance boost.

What is a Test Fixture ?

less than 1 minute read

A test fixture is a fixed state of a set of objects used as a baseline for running tests. The purpose of test fixture is to ensure that there is a well known...

Duck Typing in JavaScript ?

less than 1 minute read

The term duck typing comes from the saying “If it looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck”.

What is a Promise ?

2 minute read

A promise is an object that may produce a single value some time in the future: either a resolved value, or a reason that it’s not resolved. A promise may be...

Big O notation

less than 1 minute read

Big O notation is used in computer science to describe the the performance or complexity of an algorithm. Big O specifically describes the the worst case sce...