docs(preact): add missing onUnmount to listeners event list#2183
docs(preact): add missing onUnmount to listeners event list#2183dojhoanrd-jw wants to merge 1 commit into
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 (1)
📝 WalkthroughWalkthroughDocumentation for Preact form listeners is updated to include ChangesPreact Listener Events Documentation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 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 |
🎯 Changes
Add missing event to the Preact listeners guide:
docs/framework/preact/guides/listeners.md): AddonUnmountto the list of events that can be "listened" to. TheonUnmountfield listener is defined inpackages/form-core/src/FieldApi.tsalongsideonChange,onBlur,onMount, andonSubmit, and is already documented in the Angular listeners guide. This update makes the Preact guide consistent with Angular and accurately reflects the events available in the API.✅ Checklist
pnpm test:pr.🚀 Release Impact
Summary by CodeRabbit
onUnmountas an available event option.