Repository navigation
fix(examples/svelte/{basic,ssr}): remove the '!postId' check that kept 'Loading...' next to the error for non-numeric post ids - #12119
Conversation
…t 'Loading...' next to the error for non-numeric post ids
|
|
View your CI Pipeline Execution ↗ for commit 3cb4b12
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
size-limit report 📦
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
🎯 Changes
In
examples/svelte/basicandexamples/svelte/ssr,Post.svelteshowedLoading...when!postId || post.isPending.postIdcomes fromparseInt(params.postId), so a non-numeric or0id made!postIdtrue andLoading...stayed next toError: ...after the query failed.Loading...only whilepost.isPending.✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Summary by CodeRabbit