Skip to content

Conversation

@rudowastaken
Copy link
Contributor

@rudowastaken rudowastaken commented Mar 25, 2024

The default pending component was popping up in routes without loader in the case when pendingMs was evaluated as a number <= 0.

Since these were met in case @TkDodo outlined and the pendingPromise is indeed a promise in the <= 0 number case, we observed the pending state.

Checking if route actually has a loader should fix it.

fixes #1349

@nx-cloud
Copy link

nx-cloud bot commented Mar 26, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit e7cdd28. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

@TkDodo TkDodo merged commit bfd9858 into TanStack:main Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pending component is rendered for routes that have no loader

2 participants