We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React version: 16.13.1
Link to code example: https://codesandbox.io/s/trusting-ramanujan-0yhqb
Throws a warning saying the Redux Provider element is using legacy context.
Throw a warning saying the react-stripe-elements StripeProvider element is using legacy context.
The text was updated successfully, but these errors were encountered:
I dug into this a bit more and found the probable cause of it:
https://github.com/stripe/react-stripe-elements/blob/master/src/index.js#L2
Inside the react-stripe-elements the file is called Provider and is being renamed to StripeProvider. Sooo, it's mostly just a naming coincidence.
I don't know if it's possible to somehow report the package name though instead of the component name if it's an external library though?
Sorry, something went wrong.
No, we can’t report the package name. Seems like everything is correct then. Just a naming coincidence.
No branches or pull requests
React version: 16.13.1
Steps To Reproduce
Link to code example: https://codesandbox.io/s/trusting-ramanujan-0yhqb
The current behavior
Throws a warning saying the Redux Provider element is using legacy context.
The expected behavior
Throw a warning saying the react-stripe-elements StripeProvider element is using legacy context.
The text was updated successfully, but these errors were encountered: