From 49472a20c95c334b4d4846fdee87c85eeca70620 Mon Sep 17 00:00:00 2001 From: Satyam Vyas Date: Fri, 26 Jul 2024 13:41:14 +0530 Subject: [PATCH] Updated useref@t_laNdMmdLApYszqXRdWg.md (#6239) * Update useref@t_laNdMmdLApYszqXRdWg.md Added useRef documentation for React Developer Roadmap on roadmap.sh * Update src/data/roadmaps/react/content/useref@t_laNdMmdLApYszqXRdWg.md --------- Co-authored-by: dsh --- .../react/content/useref@t_laNdMmdLApYszqXRdWg.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/data/roadmaps/react/content/useref@t_laNdMmdLApYszqXRdWg.md b/src/data/roadmaps/react/content/useref@t_laNdMmdLApYszqXRdWg.md index 4e2b7382c..5147c2626 100644 --- a/src/data/roadmaps/react/content/useref@t_laNdMmdLApYszqXRdWg.md +++ b/src/data/roadmaps/react/content/useref@t_laNdMmdLApYszqXRdWg.md @@ -1 +1,8 @@ -# useRef \ No newline at end of file +# useRef + +useRef is a React hook that provides a way to create a mutable reference that persists across component re-renders. It stores a value that doesn't cause re-renders when it changes. + +Visit the following resources to learn more: +- [@official@useRef](https://react.dev/reference/react/useRef) +- [@article@W3Schools](https://www.w3schools.com/react/react_useref.asp) +- [@video@WebDevSimplified](https://www.youtube.com/watch?v=t2ypzz6gJm0)