Amandeep Kochhar·Nov 2, 2025React useState Lazy Initialization: The Performance Secret Nobody TeachesCheck out the video for practical example: https://youtu.be/QM_DzAbAsr0
Amandeep Kochhar·Jun 15, 2025Goodbye dotenv 👋 — Native .env Support in Node.js 20+Until now, whenever we wanted to load environment variables from a .env file in a Node.js project, the popular dotenv package was the…A response icon3A response icon3
Amandeep Kochhar·Jun 13, 2025Is AI Stealing Your Creative Soul?There’s a strange moment that has been happening lately.
Amandeep Kochhar·Apr 1, 2025The Dark Side of React Custom Hooks: Unnecessary Re-RendersReact custom hooks are a fantastic way to reuse logic across your components. They’re clean, modular, and make your code feel more…
Amandeep Kochhar·Mar 31, 2025[2025] — Setting Up Tailwind CSS with Vite: A Quick and Easy GuideTailwind CSS and Vite are excellent for building modern, fast, and highly customizable web applications. Tailwind provides utility-first…
Amandeep Kochhar·May 3, 2021[JavaScript] — event.Target vs event.currentTargetevent.target Points to element, which triggers the event.
Amandeep Kochhar·Feb 21, 2021[Node JS] — Auto Loading Routes with File System.As our server has multiple API endpoints, our need for creating routes increases, along with increased demand of creating these routing…
Amandeep Kochhar·Jan 31, 2021Use an ES6 modules in Node.js?Before Node version 13, we were using the esm npm package and run our app.js using the commandnode -r esm app.js
Amandeep Kochhar·Apr 8, 2020[Interview Question] — Find the largest and smallest word in a sentence!Input — “This is a sentence and I am about to find out the largest and smallest word occurring in this line”
Amandeep Kochhar·Apr 8, 2020[Interview Question] — Get the product of all the elements of an array except the current Element…Input — [2, 3,4,5]