I use the code from here as a sample
https://github.com/paypal/paypal-checkout-components/blob/master/demo/react.htm
But I got the error report with content:
findDOMNode is deprecated in StrictMode

Should not have an error report
window.paypal.version): -Issue-Label Bot is automatically applying the label 馃悶 bug to this issue, with a confidence of 0.95. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Hi @dotku to get around this warning you can use useRef() instead of the zoid react driver.
Also, we just released a react library to simplify this style of integration: https://github.com/paypal/react-paypal-js.
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information.