Closed bhongy closed 1 year ago
Latest commit: f4e6415b6e6e86afe291283859d7be0aa70594d2
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 29, 2023 9:56am |
@colevscode I tested and confirmed that stripe script is not loaded when stripePK
props is not passed to FormspreeProvider
.
https://github.com/formspree/formspree-js/assets/3942264/f9364505-fbc7-4bae-a9b9-06fdbcfa144f
Deployment https://formspree-react-demo-6uz98uo9c-formspree.vercel.app/ from commit f4e6415
Changes
@formspree/core
stripePromise
tostripe
since it expects the resolved Stripe client not a promise@formspree/react
useSubmit
which is suitable with code that uses other ways to manage submission state (e.g. with a library like react-hook-form)useForm
to useuseSubmit
under the hoodFormspreeContext
updates the client whenprops.project
changeCode quality improvements
Improve test coverage
@formspree/react