Back to Browse

How to use useCallback hook | useCallback hook | React hooks for Beginners

171 views
May 7, 2023
20:26

usecallback hook,usecallback,react usecallback hook,react hooks,usecallback react hooks, use callback react hooks, use callback react, usecallback vs use memo, use callback in reactjs, react hooks ✅ Learn how to use useEffect hook https://youtu.be/9wgkJ53lEns ✅ Implement infinite scrolling in React | using useEffect and useState | EASIEST way https://youtu.be/xsCcFzuFqkM ✅ How to Use the useFetch Hook for Data Fetching | useFetch hook | React Custom Hooks https://youtu.be/fCAItmVOuNY ✅ How to Refresh Data Automatically in React? | React tutorial for Beginners https://youtu.be/eg9rKpLrZBw 📌 About this video: In this video we will discuss about useCallback hook, how to use it, when to use it and how this hook improve performance of our application. ----------------------------------------------------------------------------- 🌟Contents of this video 🌟 0:00 - Introduction 0:20 - What is useCallback 0:56 - useCallback syntax 2:36 - How useCallback improve performance 5:08 - Setting boiler plate code 7:40 - Overview of boiler plate code 8:07 - Performance issue in the existing code 10:17 - how useCallback fix the issue 10:39 - Implementing useCallback to fix the performance issue 12:12 - Testing the code after using useCallback 13:39 - use React.memo() with useCallback 14:46 - we use useCallback when we are passing function as a prop 17:55 - Best practices of using useCallback 20:09 - Outro ----------------------------------------------------------------------------- 👇 Subscribe + Notification 🔔 for MORE 👇 @exacode 📌 Don't forget to like this video to see more such content, Thanks for watching!

Download

0 formats

No download links available.

How to use useCallback hook | useCallback hook | React hooks for Beginners | NatokHD