Войти
  • 22559Просмотров
  • 10 месяцев назадОпубликованоReact Conferences by GitNation

What React Refs Can Do for You

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 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: Follow the link to watch the full version of all the conference talks, QnA’s with speakers and hands-on workshop recordings → 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: React Summit on X: React Summit on Bluesky: React Summit on LinkedIn: React Summit on Instagram: GitNation on TikTok: @gitnationorg #ReactSummitUS #GitNation #ReactJS #TechTalks