Closed bhongy closed 1 year ago
Latest commit: b6024a3027071fa59d1f919ef049db15df9bddd7
The changes in this PR will be included in the next version bump.
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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
formspree-react-demo | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 26, 2023 8:04am |
re-r? @colevscode I think I addressed or answered to all your questions.
Changes
@formspree/core
submitForm
function now will never rejects but always produces a type ofSubmissionResult
, different types of the result can be refined/narrowed down using the fieldkind
.SubmissionErrorResult
which can be used to get an array of form errors and/or field errors (by field name)Response
is no longer made available on the submission result@formspree/react
for the changes introduced to@formspree/core
Code quality improvements
Improve test coverage
@formspree/core
@formspree/react