formspree / formspree-js

The fastest way to hook up a React form
https://formspree.io/javascript
MIT License
63 stars 12 forks source link

feature: @formspree/react useSubmit hook #48

Closed bhongy closed 1 year ago

bhongy commented 1 year ago

Changes

@formspree/core

@formspree/react

Code quality improvements

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: f4e6415b6e6e86afe291283859d7be0aa70594d2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | ---------------- | ----- | | @formspree/core | Major | | @formspree/react | Minor |

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

vercel[bot] commented 1 year ago

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
bhongy commented 1 year ago

@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