React Tutorial 45 - React Hooks | useMemo() | Using the useMemo Hook

preview_player
Показать описание
In this video, I have introduced useMemo() hook, How to useMemo in React. This hooks return memorized value. I have demonstrated it using a component which is used in two places. Now what happens if one of the component renders due to state change, this should not affect other component because no state is changes into that. Now to improve this part of code useMemo() comes into picture.

React hooks:

This is the insta-app with local state management

This is the insta-app with redux state management

code sandbox:

API names

The data that we are fetching is from another sever and we are setting the state of the data and declaring what data to be shown. In this video we are focused on the declarative approach that react gives.React allows you define components as classes or functions. JSX just provides syntactic sugar for the React.
Welcome to this course on React Tutorial of Beginners. This React Developer Online Course will teach you the basics of Front End web development. React is a declarative, efficient, and flexible JavaScript library for building user interfaces. React is a JavaScript library for building Front end interfaces.

#ProgrammingKnowledge #React #Redux #ReactJS #ReactTutorial #Node #Express #MongoDB #Nodejs #Rest #Covid19 #Corona #Covid19App #CoronaApp
★★★Top Online Courses From ProgrammingKnowledge ★★★

★★★ Online Courses to learn ★★★

★★★ Follow ★★★

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Рекомендации по теме
Комментарии
Автор

Thankyou So much, can we use this react for android app development ??

harshitrathi
join shbcf.ru