feat(conform-react): add FormBoundary - #1302
edmundhung wants to merge 1 commit into
Conversation
🦋 Changeset detectedLatest commit: 21ef17a The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Deploying conform with
|
| Latest commit: |
21ef17a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://4f43bc06.conform.pages.dev |
| Branch Preview URL: | https://edmundhung-form-boundary.conform.pages.dev |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (10)
📜 Recent review details⏰ Context from checks skipped due to timeout. (7)
🧰 Additional context used🧠 Learnings (2)📚 Learning: 2026-04-05T20:22:11.135ZApplied to files:
📚 Learning: 2026-07-18T14:14:07.849ZApplied to files:
🪛 markdownlint-cli2 (0.23.2).changeset/tidy-forms-cross-roots.md[warning] 5-5: First line in a file should be a top-level heading (MD041, first-line-heading, first-line-h1) 🔇 Additional comments (9)
📝 WalkthroughWalkthroughAdded the experimental React ChangesFormBoundary API
Estimated code review effort: 3 (Moderate) | ~20 minutes Mergeability Score: ⚪ Minimal · up to The PR adds the future FormBoundary API without any identified concrete correctness or production impact; no actionable merge-blocking risk remains after normal checks and review. Sequence Diagram(s)sequenceDiagram
participant ExternalControl
participant FormBoundary
participant useForm
participant ValidationState
ExternalControl->>FormBoundary: input or blur event
FormBoundary->>useForm: delegated form event
useForm->>ValidationState: update validation or blur state
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
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
@conform-to/dom
@conform-to/react
@conform-to/valibot
@conform-to/validitystate
@conform-to/yup
@conform-to/zod
commit: |
Summary
FormBoundarycomponent for delegated input and blur handlingGenerated Summary
Adds the experimental
FormBoundaryAPI. It delegates input and blur events for form-associated controls rendered outside the form, while preventing duplicate form-level handlers. Documentation, exports, tests, and a changeset are included.