Aman's Blog

Written by Amandeep Singh. Developer @ Domain Sydney. Tech enthusiast and a pragmatic programmer.

Lazy-loading React components—no rocket science

May 30, 2021. 4 min read

Don't make your user pay the cost of additional JavaScript they never get to use. Think inclusive, think accessible.

Curated list of Newsletters to level up your coding skills

May 15, 2021. 3 min read

Level up your programming skills by subscribing to this curated list of newsletter subscriptions.

Are you sure you know how event propagates in JavaScript?

February 17, 2021. 4 min read

Events are core part of web programming. System notifies us about these occurrences and we can respond them however we desire. Understanding the event propagation is important to create robust UI widgets.

An Easy Explanation to Prototypal Delegation in JavaScript

February 15, 2021. 4 min read

JavaScript doesn't have classical inheritance, but Prototypal delegation. This allows a very powerful paradigm of sharing methods and properties in JavaScript.

How to smartly cleanup your commit history using git reset?

August 17, 2020. 4 min read

Strive to keep your commit history clean, and your future colleagues will thank you for this. Let's see how can you do it using git reset.

Git Interactive—enhance your work productivity by 10X

August 01, 2020. 3 min read

It's time to supercharge your git tooling. We will go beyond your normal git add and git checkout command, and showcase their interactive counterparts.

What's the deal with Object.prototype.hasOwnProperty.call()?

April 26, 2020. 3 min read

We will break the components into pieces and demystify their existance. You will learn about prototye delegation, borrowing function techinque, and why one would use hasOwnProperty on Object's prototype and not on instance itself.

Why Effects shouldn't lie about their dependencies

July 01, 2019. 9 min read

Effects play a crucial part in your application. Understanding why its important to pass correct dependencies in your `useEffect` hook can help you avoid bugs.

Hidden gems of debugging

May 25, 2019. 8 min read

We will explore some of the coolest tricks and features that can make 'debugging' your cup of tea ☕.

Lexical Environment-the hidden part to understand Closures

May 12, 2019. 6 min read

Functions in ECMAScript captures their parent scope bindings at creation time

So you think you know JavaScript?

March 21, 2019. 6 min read

We demystify the mechanism of JavaScript engine, closures, scope, and event loop.

Why do we need to bind methods inside our component’s constructor?

December 12, 2018. 3 min read

This is not React but JavaScript.

How to write 90% cleaner code with Hooks 🎣

December 07, 2018. 4 min read

Hook are the new programming model in React. Are you up and ready to embrace it?

PureComponent Caveats

October 28, 2018. 4 min read

Avoid wasteful re-renders.

Thinking in React—few tips

April 08, 2018. 4 min read

Some tips to help you get started with React.