React

Unveiling the Magic: Arrays in React for Dynamic UI Wonders

Introduction to Arrays in React Hey there, fellow developer! If you’ve got a solid grasp of arrays in JavaScript, you’re in for a treat. We’re about to unlock a new level of awesomeness by exploring how arrays in React play a key role in crafting dynamic user interfaces. Embracing the Array Magic Think of arrays […]

Unveiling the Magic: Arrays in React for Dynamic UI Wonders Read More »

How to create React functional components in TypeScript

TypeScript is a superset of JavaScript. Unlike JavaScript, Which is dynamically typed, it is statically typed.  This means you will know the types of variables used in your code at the compile time. This helps you as a developer to check for typed-related errors before the code is executed. If there are no compiled errors,

How to create React functional components in TypeScript Read More »

React.lazy and Suspense make code-splitting easy

React.lazy and Suspense make React developer life easy. React.lazy helps in code-splitting and Suspense backup React.lazy in loading state. Before, we go into details let’s start things simply. let’s be familiar with some background knowledge. What is Bundling? Bundling is the process of putting code in many files into one file. While bundling is essential

React.lazy and Suspense make code-splitting easy Read More »

How to use React useMemo hook to improve performance

React useMemo hook One of the ways that you can improve the performance of React apps is by using the useMemo hook. This hook prevents expensive calculations from running on every render. The React useMemo takes two arguments: a function and a dependency array. useMemo( function, dependancy_array) Now, let us see how useMemo work by an

How to use React useMemo hook to improve performance Read More »

Scroll to Top