React Tutorial 44 - React Hooks | useCallBack() | Using the useCallBack Hook

preview_player
Показать описание
In this video, I have introduced useCallBack hook and when we have to use So let us see How to use the useCallback React hook. So, we have use Effect right , now we have to write all the code inside it that is to be played after render . So, we can write outside of useEffect() but what happens that each time a new function is created whenever useEffect run and to stop this useCallBack comes into picture. What It will do, it will store the function if the dependencies changes after the render then the function inside callBack will run.

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!
Рекомендации по теме
Комментарии
Автор

For software testing as a fresher which things i have to learn first please give me syllabus point wise. 🙏🙏

Last__Seconds