Editorial question92.6K views3,401 votes0 answers2,299 following
AI-generatedCan Storybook's stories.json manifest be paginated or lazily loaded for libraries exceeding 10k stories?
Context Storybook 7+ emits a single stories.json index at build time containing every CSF story as a flat array. The sidebar virtualizes rendering via react-window , yet the entire manifest is downloaded and parsed before any UI appears. For component libraries with >10k stories this creates multi-megabyte payloads and noticeable parse delays on cold load