-
-
Couldn't load subscription status.
- Fork 1.3k
test(solid-start): manual suspense boundaries transition on navigation #5638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(solid-start): manual suspense boundaries transition on navigation #5638
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThis PR adds a new Changes
Sequence DiagramsequenceDiagram
participant User
participant App
participant Query as React Query/<br/>Solid Query
participant Suspense
User->>App: Click "Increase" link
Note over App: Navigate with new search param
App->>Query: Fetch double(n+1)
Note over Suspense: Old content visible<br/>No fallback shown
Query->>Query: Wait 500ms
Query-->>Suspense: Data arrives
Note over Suspense: Transition to<br/>new content
Suspense->>App: Render new values
App->>User: Display n=2, double=4
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Possibly related issues
Suggested labels
Suggested reviewers
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (6)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
View your CI Pipeline Execution ↗ for commit ed450c0
☁️ Nx Cloud last updated this comment at |
More templates
@tanstack/arktype-adapter
@tanstack/directive-functions-plugin
@tanstack/eslint-plugin-router
@tanstack/history
@tanstack/nitro-v2-vite-plugin
@tanstack/react-router
@tanstack/react-router-devtools
@tanstack/react-router-ssr-query
@tanstack/react-start
@tanstack/react-start-client
@tanstack/react-start-server
@tanstack/router-cli
@tanstack/router-core
@tanstack/router-devtools
@tanstack/router-devtools-core
@tanstack/router-generator
@tanstack/router-plugin
@tanstack/router-ssr-query-core
@tanstack/router-utils
@tanstack/router-vite-plugin
@tanstack/server-functions-plugin
@tanstack/solid-router
@tanstack/solid-router-devtools
@tanstack/solid-router-ssr-query
@tanstack/solid-start
@tanstack/solid-start-client
@tanstack/solid-start-server
@tanstack/start-client-core
@tanstack/start-plugin-core
@tanstack/start-server-core
@tanstack/start-static-server-functions
@tanstack/start-storage-context
@tanstack/valibot-adapter
@tanstack/virtual-file-routes
@tanstack/zod-adapter
commit: |
closes #5636
for solid, it's necessary to set placeholderData
Summary by CodeRabbit
New Features
/suspense-transitionroute in React and Solid example applications, featuring manual suspense boundaries and query parameter-based data management during navigation.Tests