github stripe/react-stripe-js v6.3.0

7 hours ago

New features

PR #672

  • Added useCheckoutElements(): use this inside <CheckoutElementsProvider>.
  • Added useCheckoutForm(): use this inside <CheckoutFormProvider>.
  • Both new hooks throw a clear runtime error if called under the wrong provider.
  • useCheckout() is now deprecated in favor of the two hooks above. It will keep working under both providers for backward compatibility and is planned for removal in the next major release (v7.0.0).

Don't miss a new react-stripe-js release

NewReleases is sending notifications on new releases.