chore: upgrade to solid v2 beta 7#10516
chore: upgrade to solid v2 beta 7#10516brenelz wants to merge 5 commits intoTanStack:solid-query-v6-prefrom
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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 6788069
☁️ Nx Cloud last updated this comment at |
SummaryThis PR upgrades Solid.js dependencies from v2.0.0-beta.4/5 to v2.0.0-beta.7 and vite-plugin-solid from 3.0.0-next.4 to 3.0.0-next.5 across all Solid-related packages and examples. The primary code changes adapt to Solid v2's stricter ownership model and auto-disposal behavior for memos, requiring use of ArchitectureThe changes affect the Solid query integration layer across:
The changes adapt to Solid v2's ownership model where:
Issues[warning] packages/solid-query/src/useBaseQuery.ts:155-160 — The change from [warning] packages/solid-query/src/useBaseQuery.ts:241-289 — The queryResource restructuring removes the [warning] packages/solid-query/src/useBaseQuery.ts:253-260 — The error handling logic is restructured. Previously, [warning] packages/solid-query/src/useBaseQuery.ts:195-202 — The [suggestion] packages/solid-query/src/useBaseQuery.ts:155-160 — Consider adding comments explaining why [suggestion] packages/solid-query/src/useQueries.ts:248-268 — Similar [suggestion] All changed files — The PR changes significant core logic but doesn't show corresponding test updates. Ensure comprehensive tests cover:
[suggestion] packages/solid-query/src/useBaseQuery.ts:290 — The comment about NotReadyError and Loading boundary has been simplified. Consider preserving more context about why the try-catch was needed and whether the new implementation handles the same edge cases. Cross-file impact
Assessmentrequest-changes — The changes appear technically sound for adapting to Solid v2's ownership model, but require verification that performance characteristics aren't degraded by replacing Automated review by code-review-agent. May contain mistakes. Ignore or rebut as you see fit. |
No description provided.