BUILD a React Timer with useRef | React Hooks useRef Tutorial
Web Dev Roadmap for Beginners (Free!):
In this React Hooks useRef Tutorial, you will build a React timer app / stopwatch application by persisting values with the React hook useRef. You will also learn how useRef can count renders and be applied to elements inside JSX.
🚩 Subscribe ➜
🚀 React JS for Beginners full course - 9 hours:
🔗 Source Code:
BUILD a React Timer with useRef| React Hooks useRef Tutorial
(00:00) Intro
(00:19) Welcome and Overview
(01:15) Creating a reference with useRef
(01:36) useRef vs useState
(02:04) useRef to count component renders
(03:41) useRef to set focus on an element in JSX
(05:33) Warning: Don’t do this!
(06:34) useRef to build a stop watch timer app
🔗 ES7 React JS Snippets Extension for VS Code:
🔗 React Dev Tools Extension for Chrome:
📚 References:
ReactJS Official site:
React Wikipedia: (JavaScript_library)
React Jobs:
✅ Follow Me:
Twitter:
LinkedIn:
Blog:
Reddit:
Was this tutorial about the React hook useRef helpful? If so, please share. Let me know your thoughts in the comments.
#useref #react #hooks
1 view
0
0
3 days ago 00:02:16 1
The End of The Sun - Official Release Date Trailer | A Slavic Mythology Adventure Game
5 days ago 01:57:49 26
Peter Pearson “Dancing With The Clouds“ (Full Album - 2019)