Are you sure you know how an event propagates in JavaScript?Events are everywhere in web programming — input change, mouse move, button click, and page scroll are all forms of events. These are the…May 9, 2021May 9, 2021
An Easy Explanation to Understand Prototypal Delegation in JavaScriptJavaScript language stands on two pillars: functional programming and prototypal delegation. The addition of classes in JavaScript is mere…Oct 18, 2020Oct 18, 2020
What’s the deal with Object.prototype.hasOwnProperty.call()?I am sure you might have seen the following line of code either while reading someone’s code or in a library.Jun 26, 2020Jun 26, 2020
Effects shouldn’t lie about their dependenciesFor a long time React developers have been inventing and sharing different patterns of reusing code logic — Higher order component and…Jul 1, 2019A response icon2Jul 1, 2019A response icon2
Unknown gems of debugging 💎 💎Anything that cut some of your arduous task time is good for your productivity. Debugging is one of those strenuous tasks. Developers…May 26, 2019A response icon2May 26, 2019A response icon2
Lexical Environment — The hidden part to understand ClosuresClosures can be a daunting concept when you are new to JavaScript world. Scouring the internet will give you tons of definition about what…May 12, 2019A response icon12May 12, 2019A response icon12
So you think you know JavaScript?JavaScript is an interesting language and we all love it because of its nature. Browsers are the home for JavaScript and both work…Mar 21, 2019Mar 21, 2019
Why we need to bind method inside our component’s constructor.We all know that in order to pass a function as props to the child component we have to do one of the following:Dec 12, 2018A response icon1Dec 12, 2018A response icon1
How to write 90% cleaner code with Hooks 🎣The year 2018 brings lot of new features into React Ecosystem. Addition of these features are helping developers to focus more on user…Dec 6, 2018A response icon1Dec 6, 2018A response icon1
PureComponent CaveatsExtending your class components from PureComponents gives you the benefit of avoiding wasteful re-renders. It does a shallow comparison of…Oct 28, 2018Oct 28, 2018