fix(svelte-form): resolve infinite recursion in AppField during SSR#2093
fix(svelte-form): resolve infinite recursion in AppField during SSR#2093pixelmund wants to merge 2 commits intoTanStack:mainfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughA patch release for Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 03f7db8
☁️ Nx Cloud last updated this comment at |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2093 +/- ##
==========================================
- Coverage 90.35% 83.11% -7.24%
==========================================
Files 38 8 -30
Lines 1752 77 -1675
Branches 444 4 -440
==========================================
- Hits 1583 64 -1519
+ Misses 149 12 -137
+ Partials 20 1 -19 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Don't mind the failing version preview. We'll try to get that handled ASAP. As far as the actual changes go, LGTM! |
🎯 Changes
Fixes #1992
In
AppField.svelte, thechildrenprop destructured from$props()is shadowed by the{#snippet children(field)}block. This causeschildren={children}passed to<InnerAppField>to reference the snippet wrapper instead of the original prop, creating an infinite render loop during SSR.Renamed the destructured prop to
childrenPropto avoid the naming collision.✅ Checklist
pnpm test:pr.🚀 Release Impact
Summary by CodeRabbit
Bug Fixes