-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
docs(solid-start): start-basic-solid-query example #5562
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
Conversation
|
View your CI Pipeline Execution ↗ for commit 18ade98
☁️ Nx Cloud last updated this comment at |
|
Caution Review failedThe pull request is closed. WalkthroughAdds a comprehensive new Solid Start example project ( Changes
Sequence DiagramsequenceDiagram
participant Browser
participant Server
participant Router as TanStack Router
participant QueryClient as Solid Query
participant API
Browser->>Router: Navigate to route
Router->>Router: Match file-based route
Note over Router: Load route loader (if exists)
Router->>QueryClient: ensureQueryData() for prefetch
QueryClient->>API: Fetch data
API-->>QueryClient: Response
QueryClient-->>Router: Cache populated
Router->>Browser: Render component with prefetched data
Browser->>Browser: Hydrate with HydrationScript
rect rgb(200, 220, 240)
Note over Browser,QueryClient: SSR Query Integration Active
Browser->>QueryClient: useQuery hook on client
QueryClient->>Browser: Use cached server state (no refetch)
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes The PR adds ~40 new files with extensive repetition in route definitions, but introduces core complexity in router setup, routeTree generation, and API route handlers. Most route files follow consistent patterns, reducing review burden. Focus areas: router configuration, type-safe route tree augmentations, query integration, and API handler logic. Possibly related PRs
Suggested labels
Suggested reviewers
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (8)
📒 Files selected for processing (35)
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 |
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: |
ported over from react
Summary by CodeRabbit
New Features
Documentation
Chores