javascript
javascript copied to clipboard
chore(shared,clerk-js): Set defaultOptions to queryClient
Description
Checklist
- [ ]
pnpm testruns as expected. - [ ]
pnpm buildruns as expected. - [ ] (If applicable) JSDoc comments have been added or updated for any package exports
- [ ] (If applicable) Documentation has been updated
Type of change
- [ ] 🐛 Bug fix
- [ ] 🌟 New feature
- [ ] 🔨 Breaking change
- [ ] 📖 Refactoring / dependency upgrade / documentation
- [ ] other:
Summary by CodeRabbit
-
Bug Fixes
- Disabled automatic query retries and tightened refetch behavior to improve stability.
-
Chores
- Switched query dependency resolution to a catalog-based setup.
- Made query client lazy-initialize and emit a clear readiness status.
-
Tests
- Updated test defaults to match the new query client retry/refetch settings.
✏️ Tip: You can customize this high-level summary in your review settings.