Skip to content
Source
Sign inSign up
TanStack/virtual

examples/react/chat

README.md

TanStack Virtual React Chat Example

Demonstrates end-anchored virtualization for chat-style UIs:

  • starts at the latest message
  • keeps the visible message stable when older history is prepended
  • follows appended output only when the viewport is already at the latest message
  • keeps streaming bottom output pinned as the last row grows
npm install
npm run dev