Complete Lifecycle Method #15 | Component (Mount-Update-Unmount-Error) | React js in Hindi tutorial

Code Improve
Code Improve
2.5 هزار بار بازدید - 3 سال پیش - Welcome to the React JS
Welcome to the React JS series for beginner.In this video you will learn all about react life cycle method in hindi.
React LifeCycle  Methods

1) Mounting
   constructor()
   static getDerivedStateFromProps()  
   render()
   componentDidMount()

   avoid them unsafe
       componentWillUnmount() deprecate

2)    Updating
   static getDerivedStateFromProps()
   shouldComponentUpdate()
   render()
   getSnapshotBeforeUpdate()
   componentDidUpdate()

   avoid them unsafe
       componentWillUpdate()
       componentWillReceiveProps()

3) Unmounting
   componentWillUnmount()

4) Error Handling
   static getDerivedStateFromError(error)
   componentDidCatch(error,info)
 
React js in Hindi tutorial Playlist:-
Introduction | Part #1 | React js in ...


#reactjs #react
3 سال پیش در تاریخ 1399/12/11 منتشر شده است.
2,597 بـار بازدید شده
... بیشتر