Pattern
Store Initialization Timing
zustand-initialization-race
A recurring Zustand store setup where initial API data is attempted inside synchronous store creation, then patched with external init paths that race with component reads, leading to TypeScript mismatches around subscribeWithSelector signatures.