-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Overview
Enable RSC streaming for the story list page.
Parent Epic: #70
Priority: P1
Prerequisites
- 4.4: Create Story List Component #85 (4.4: Create Story List Component)
- 3.1: Create Stories Controller with RSC Rendering #78 (3.1: Create Stories Controller with RSC Rendering)
- 4.11: Create Loading Skeletons #92 (4.11: Create Loading Skeletons)
Next Issues (after this is complete)
- 7.3: Write Integration Tests (verify streaming behavior)
Acceptance Criteria
- Story list page streams progressively to browser
- Suspense boundaries properly configured in React components
- Loading skeletons show while stories are loading
- Page is interactive before all content loads
- Verify with Network throttling (slow 3G) in DevTools
- Rails controller sends chunked response
Implementation Notes
React on Rails Pro RSC streaming requires:
- Controller configured for streaming responses
- Proper Suspense boundaries in components
- Loading fallbacks (skeletons) for suspended content
Test by:
- Throttle network to slow 3G
- Load story list page
- Verify skeleton appears first, then content streams in
coderabbitai and lovable821