useImperativeHandle Explained with an Example | React Hooks Tutorial

Published: 24 December 2021
on channel: Dave Gray
14,236
616

Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap

useImperativeHandle is explained with an example in this React hooks tutorial. useImperativeHandle is a React hook that should not be used often, but it does have some specific use cases. In this tutorial, we will look at how a web page modal can be one of the use cases.

🚩 Subscribe ➜ https://bit.ly/3nGHmNn

🚀 React JS for Beginners full course - 9 hours:    • React JS Full Course for Beginners | Compl...  

🔗 Source Code: https://github.com/gitdagray/useimper...

📬 Course Updates ➜ https://courses.davegray.codes/

useImperativeHandle Explained with an Example | React Hooks Tutorial

(00:00) Intro
(00:14) Welcome and setup
(00:35) What is useImperativeHandle?
(00:55) The parent component
(02:49) The modal component
(06:24) Rendering the modal and not the parent
(07:28) The docs and use cases for useImperativeHandle

🔗 ES7 React JS Snippets Extension for VS Code:
https://marketplace.visualstudio.com/...

🔗 React Dev Tools Extension for Chrome:
https://chrome.google.com/webstore/de...

📚 References:
ReactJS Official site: https://reactjs.org/
React Wikipedia: https://en.wikipedia.org/wiki/React_(...)
React Jobs: https://www.ziprecruiter.com/candidat...

✅ Follow Me:
Github: https://github.com/gitdagray
Twitter:   / yesdavidgray  
LinkedIn:   / davidagray  
Blog: https://yesdavidgray.com
Reddit:   / daveoneleven  

Was this tutorial about the React hook useImperativeHandle helpful? If so, please share. Let me know your thoughts in the comments.

#useimperativehandle #react #hooks


On this page of the site you can watch the video online useImperativeHandle Explained with an Example | React Hooks Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Dave Gray 24 December 2021, share the link with friends and acquaintances, this video has already been watched 14,236 times on youtube and it was liked by 616 viewers. Enjoy your viewing!