This repository has been archived by the owner on Mar 27, 2021. It is now read-only.
Releases: stripe-archive/react-stripe-elements
Releases · stripe-archive/react-stripe-elements
v1.4.1
1.4.0
Modify build pipeline to fix issues with IE9 and IE10.
v1.3.2
v1.3.1
v1.3.0
Adds support for a handful of requested features:
- Loading Stripe.js and react-stripe-elements asynchronously
- Rendering react-stripe-elements on the server
- Passing a custom stripe instance to StripeProvider
For an overview of how this works, see the Advanced integrations section.
v1.2.1
We've fixed a bug where using pure components under the <Elements>
component
would lead to an error.
For example, this used to raise an error but does not anymore:
class PureWrapper extends React.PureComponent {
render() {
return <div>{this.props.children}</div>;
}
}
// ...
<StripeProvider apiKey='pk_test_foo123'>
<Elements>
<PureWrapper>
<InjectedCheckoutForm />
</PureWrapper>
</Elements>
</StripeProvider>
v1.2.0
The PaymentRequestButtonElement
now accepts an onClick
prop that maps to the element.on('click')
event.
v1.1.1
v1.1.0
We've added a new component! You can now use <PaymentRequestButtonElement />
which wraps up elements.create('paymentRequestButton')
in a React component.
v1.0.1
Same as 1.0.0
, but avoiding a version number collision.