useRef Hook (Full Course, Part 4 of 6) with Blues Wireless Staff Software Engineer, Paige N.

preview_player
Показать описание

React Hooks promise to eliminate the difficulties of sharing state without writing class-based components. The challenge is that Hooks do away with the lifecycle methods and class-based semantics of state management that many React developers were familiar with. Learning to use both the in-built React Hooks and implement your own Custom Hooks, however, is essential to unlock the code reuse and many other advantages that this update offers for any React-based project. While there are some resources for learning React Hooks, many have incomplete coverage. Paige fully details useState, useEffect, useRef, useContext, and Custom Hooks in this series (links below).


Connect with \newline Online!

#newline #ReactHooks #useRefHook
Рекомендации по теме
Комментарии
Автор

First time I hear about the "keeping track of old values" trick, thanks!

xvna