Anmol Kansal

Anmol Kansal

  • Home
  • About

Tag

#reactjs

Cover Image for 🔄 Global State in React Without Context API or External Libraries

🔄 Global State in React Without Context API or External Libraries

Managing the global state is a common challenge in React. While tools like Redux, Zustand, or even React’s built-in Context API are popular …

Apr 5, 2025
Cover Image for Creating a polyfill for useMemo in ReactJS

Creating a polyfill for useMemo in ReactJS

In this post, we will learn how to implement a polyfill for useMemo in ReactJS React’s useMemo is an essential hook for performance optimiza…

Mar 9, 2025
Cover Image for Creating a Polyfill for useCallback in ReactJS

Creating a Polyfill for useCallback in ReactJS

React’s useCallback is a powerful hook that helps optimize your components by memoizing functions. But have you ever wondered how it works b…

Mar 6, 2025
Cover Image for Difference between an undefined value and a missing property in TypeScript

Difference between an undefined value and a missing property in TypeScript

There is one serious issue with the default behavior of the typescript compiler w.r.t optional types. To properly understand the difference …

Jan 30, 2023
Anmol Kansal

Anmol Kansal

Web Development allows me to bring my ideas to life.

Subscribe to my newsletter to stay up to date with articles!