-
-
Couldn't load subscription status.
- Fork 535
feat(react-form): add useTypedAppFormContext
#1826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: d3b1481 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
useTypedAppFormContextuseTypedAppFormContext
|
View your CI Pipeline Execution ↗ for commit d3b1481
☁️ Nx Cloud last updated this comment at |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1826 +/- ##
===========================================
- Coverage 90.35% 52.94% -37.42%
===========================================
Files 38 14 -24
Lines 1752 187 -1565
Branches 444 29 -415
===========================================
- Hits 1583 99 -1484
+ Misses 149 77 -72
+ Partials 20 11 -9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
🎯 Changes
This PR adds the
useTypedAppFormContexthook, which accepts aformOptionsfor typing, while using context to get the form instance instead.This is a less type safe variant of
withForm, which is why we will only recommend it in cases where passing as prop is not possible.🚀 Release Impact
Todos