| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Fixes TanStack#1967 by awaiting a browser paint cycle after setting isSubmitting and before onSubmitAsync runs, so loading spinners render in time. Co-authored-by: Cursor <cursoragent@cursor.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 5793d21c-e90e-4bbc-9488-f0bb31d8ef87 📥 CommitsReviewing files that changed from the base of the PR and between b98b76f and cc8a1a7. 📒 Files selected for processing (1)
📝 Walkthrough WalkthroughAdds a new yieldToPaint() utility and awaits it in form submission handlers so the browser can paint isSubmitting UI before submit-time validation and onSubmitAsync run. Tests and a changeset document the behavior and version bumps. ChangesBrowser Paint Timing for Form Submission
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem🚥 Pre-merge checks | ✅ 4 | ❌ 1 ❌ Failed checks (1 warning)
✏️ 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. ❤️ ShareComment @coderabbitai help to get the list of available commands and usage tips. |
Sorry, something went wrong.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agentsVerify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. Inline comments: In `@packages/form-core/src/utils.ts`: - Around line 748-751: The docstring above the yield utility (the comment beginning "Yields so UI updates (e.g. isSubmitting spinners) can paint before submit validation runs. Uses double requestAnimationFrame in browsers and setTimeout(0) elsewhere (tests, SSR).") is inaccurate: the implementation uses queueMicrotask for the non-browser/test fallback. Update that docstring to reflect the actual behavior by replacing "setTimeout(0)" with "queueMicrotask (microtask queue)" and optionally note that tests/SSR use queueMicrotask rather than macrotask timing.
Fix all unresolved CodeRabbit comments on this PR:
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: e19336ce-dcfc-4e89-905a-60a53248cc41
📥 CommitsReviewing files that changed from the base of the PR and between 6a73479 and b98b76f.
📒 Files selected for processing (6)
Sorry, something went wrong.
Co-authored-by: Cursor <cursoragent@cursor.com>
| Back | FazBrowse Home | New Git URL |
Fixes #1967 by awaiting a browser paint cycle after setting isSubmitting and before onSubmitAsync runs, so loading spinners render in time.
🎯 Changes
✅ Checklist
🚀 Release Impact
Summary by CodeRabbit
New Features
Tests
Chores