Sanjib Roy

Sanjib Roy

I'm a React and Javascript enthusiast with over two years of experience creating innovative software solutions that improve business productivity. As a team player, I enjoy taking on challenging projects that push me to learn and grow. Born and raised in Raniganj, I enjoy mobile photography, writing and reciting poems, and traveling during my free time.
authorImg Sanjib Roy

Memo vs. useMemo: When to use each for better React performance?

Ever wondered when to use React.memo and useMemo? This in-depth guide clarifies their differences and shows how to leverage them for optimal performance.
authorImg Sanjib Roy

Understanding Generators, Iterators, and Iterator Helpers in JavaScript

Understand JavaScript generators for pausing functions, ideal with large datasets. Learn iterator basics, next() method, and efficient iteration with helpers
authorImg Sanjib Roy

Deciding which state management to use: opting between useContext and Redux

In this article, we will explore two effective strategies for managing state in React apps: the useContext hook and Redux Toolkit. The article provides practical code examples for both the useContext hook and Redux Toolkit, and it discusses the advantages, disadvantages, and best-fit scenarios for each approach.
authorImg Sanjib Roy

Simplify Routing and Boost Performance with Next.js App Router

Discover the powerful features of Next.js 13's App Router built on React Server Components, enabling efficient route organization and layout creation. Improve performance with server-centric routing and seamless client-side navigation. Unlock advanced routing patterns like parallel routes and route interception to create sophisticated web applications with ease.
authorImg Sanjib Roy

Replace lodash.get method with optional chaining and nullish-coalescing operator

Learn how to replace the popular lodash.get() method with the new optional chaining and nullish-coalescing operator introduced in ES11(ES2020).