Presentations
Templates
Features
Teams
Pricing
Log in
Sign up
Log in
Sign up
Menu
Virtualization in React
@anshumanv
@anshumaniac
About me
Eng @Clarisights
💡 open-source and web performance
🥰 football and anime
Lists are everywhere 😱
Virtualization
😎
or Windowing
Only rendering what's in the viewport
Tradeoffs 🤔
Accessibility concerns
Not Searchable using Cmd/Ctrl + F
Heavy list items can show jank
react-window/react-virtualized
Suggestions
Precompute all data or in chunks if possible
Keep cells as lite as possible
Do no prematurely apply virtualization
Resources
github.com/WICG/virtual-scroller
web.dev/virtualize-long-lists-react-window/
Thanks!
ReactDay Talk
By Anshuman Verma
Made with Slides.com
ReactDay Talk
57
Anshuman Verma
anshumanv.dev
Anshumaniac
More from
Anshuman Verma