The Built-in React Hook 🤯 NO ONE talks about!

Dave Gray
Dave Gray
7.4 هزار بار بازدید - 3 سال پیش - Web Dev Roadmap for Beginners
Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap

The Built-in React Hook no one talks about! In this React hooks tutorial, you will learn about the built-in React hook useDebugValue. You'll learn what useDebugValue is used for, how to apply it, and why it has a special 2nd parameter available.

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

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

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

useDebugValue Explained with an Example | React Hooks Tutorial

(00:00) Intro
(00:20) Welcome
(00:43) Our custom hook
(01:19) Adding a custom label
(03:02) Displaying useful debug data
(06:24) Formatting function parameter
(07:36) When to apply useDebugValue

🔗 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: Twitter: yesdavidgray
LinkedIn: LinkedIn: davidagray
Blog: https://yesdavidgray.com
Reddit: Reddit: DaveOnEleven

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

#usedebugvalue #react #hooks
3 سال پیش در تاریخ 1400/11/01 منتشر شده است.
7,424 بـار بازدید شده
... بیشتر