arackaf / arackaf/fm-tanstack-workshop
Question: Handling Loading Flash with TanStack Query
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 41
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
In your course, you demonstrate using pendingMilliseconds to prevent loading indicator flashes in route loaders.
When using TanStack Query with isFetching/isPending flags in components, we face the same UX problem.
What's the recommended pattern to delay/debounce Query flags to prevent loading flashes?
Should we create a custom hook, use Query config, or implement differently?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the course example that uses pendingMilliseconds and the component cases using TanStack Query isFetching or isPending. Clarify the recommended way to prevent loading flashes, including whether the solution belongs in a custom hook, Query configuration, or another documented pattern.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100