Talk: Stephen Cooper – "What Refs Can Do for You", React Summit US 2024
While Refs are considered an escape hatch there are times when you might just need to use them.In this talk, with the help of real world examples, we will look at what Refs can do for us in terms of code clarity and also performance gains. Think along the lines of minimising renders and avoiding flickering UIs. We will cover the restrictions for safe usage and for those of you already using these patterns make sure you are prepared for the changes coming in React 19.
Watch the full talk in 1080p on GitNation website: https://gitnation.com/contents/what-r...
Follow the link to watch the full version of all the conference talks, QnA’s with speakers and hands-on workshop recordings → https://gitnation.com/events/react-su...
Timestamps:
00:00 Intro
00:31 Introduction to Refs and Profiling Agigrid
02:46 Optimizing Custom Cell Components and Performance
05:28 Improving Performance with Manual Style Updates
08:34 Refactoring the Use of useEffect
10:24 Improving Performance with Ref Callback
13:49 React 19 and Using Ref Callbacks
🔥 Want to hear talks like this live? Join us at React Summit US 2025 in New York: https://reactsummit.us/?utm_source=yo...
React Summit on X: / reactsummit
React Summit on Bluesky: https://bsky.app/profile/reactsummit....
React Summit on LinkedIn: / reactsummit
React Summit on Instagram: / reactsummit
GitNation on TikTok: / gitnationorg
🖤 Supported by FocusReactive agency: headless CMS and Next.js experts: https://focusreactive.com/
#ReactSummitUS #GitNation #ReactJS #TechTalks