GitHub labels: Stellar Wave
Drips complexity: High (200 points)
Area: Performance
Description
lib/queryPersistence.ts defines persistence helpers, but app/providers.tsx does not restore the dehydrated cache on first paint.
Requirements and Context
Returning users should see cached marketplace data instantly while revalidating. Wire persistQueryClient restore in Providers.
Suggested Execution
git checkout -b feat/query-persistence-hydration
- Create branch feat/query-persistence-hydration
- Integrate queryPersistence in app/providers.tsx
- Restore cache before rendering data routes
- Skip persistence for wallet/tx sensitive keys
- Add test for dehydrate/hydrate round-trip
Example commit message
feat(performance): hydrate persisted TanStack Query cache on boot
File Paths
lib/queryPersistence.ts
app/providers.tsx
lib/queryKeys.ts
Guidelines
- Assignment required before starting
- PR description must include:
Closes #<issue_number>
- Run
npm run lint, npm run type-check, npm run test, and npm run build before opening PR
- Add screenshots or recordings for UI changes
- Complexity: High (200 points) — complex engineering work touching multiple modules
Acceptance Criteria
GitHub labels:
Stellar WaveDrips complexity: High (200 points)
Area: Performance
Description
lib/queryPersistence.ts defines persistence helpers, but app/providers.tsx does not restore the dehydrated cache on first paint.
Requirements and Context
Returning users should see cached marketplace data instantly while revalidating. Wire persistQueryClient restore in Providers.
Suggested Execution
Example commit message
File Paths
lib/queryPersistence.tsapp/providers.tsxlib/queryKeys.tsGuidelines
Closes #<issue_number>npm run lint,npm run type-check,npm run test, andnpm run buildbefore opening PRAcceptance Criteria