All Stories

Why does JavaScript’s parseInt(0.0000005) print “5”?

Why does parseInt(0.0000005) in JavaScript print 5? An amazing question! Preface Recently, I have had a strange problem when...

Nov 28 · 1 min read >

Javascript Immediately Invoked Function Expressions (IIFE)

Immediately invoked function expressions, or IIFE, are functions which are run as soon as you define the function. You...

Nov 25 · 1 min read >

Angular Basics: The CLI and Components

So you’ve scoured the internet and decided that it is worth your time and effort to learn Angular, an...

Nov 21 · 7 min read >

How to pass a value to onClick event handler in React.js

The problem If you ever tried to pass a parameter to onClick event handler, you know that it is not straightforward....

Nov 18 · 3 min read >

Modern JavaScript Shorthands

Short hand alternatives can help reduce many lines of code and save plenty of time. In this article I...

Nov 14 · 2 min read >

The Ternary Operator

What is it and what does it solve. The ternary operator a.k.a the conditional operator is a simple and...

Nov 9 · 1 min read >

All Cool Features Introduced in ES6

Block binding: Actually variable means bindings. When we declare a variable, we bind a value to a name inside a scope....

Nov 3 · 3 min read >

20+ React Libraries to Jumpstart your Next Project

In the universe of npm, there are a lot of packages to choose from, so knowing which one to...

Oct 28 · 1 min read >

Stop Using “&&” for Conditional Rendering in React

Avoid bugs by not using `&&` in React components If you’ve seen any React application, you know how to...

Oct 19 · 1 min read >

What do async and await really mean?

async...await syntax only appeared in JavaScript recently – it was introduced in ECMAScript 2017. However, it still remains a bit...

Oct 13 · 5 min read >