#24 🔥 Introducing React Hooks 🔥 | Switching To Hooks | React Native Hooks

Опубликовано: 14 Октябрь 2024
на канале: Harinder Singh
122
9

Introducing React Hooks.
Hey friends, In this video I am talking about React Hooks. Why we should migrate to hooks from class components. Use functions instead of class component.
Hooks are :
Completely opt-in. You can try Hooks in a few components without rewriting any existing code. But you don’t have to learn or use Hooks right now if you don’t want to.
100% backwards-compatible. Hooks don’t contain any breaking changes.
Available now. Hooks were available with the release of v16.8.0.
There are no plans to remove classes from React. Hooks don’t replace your knowledge of React concepts. If you just want to start learning Hooks, feel free to start asap.
#ReactHooks #ReactNative #FunctionComponent #ClassComponent #useSate #useContext #useEffect #ReactJS #useNavigation #ReactNavigation #useRoute #useIsFocused

Thanks for watching my video. I am trying to do my best, trying to post best.
Subscribe & Press Bell Icon To Get All Notifications.

Join us on following social networks :
#Telegram : https://t.me/ItzErHarinder
#Facebook :   / itzerharinder  
#Twitter :   / itzerharinder