-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Is it possible to use @stripe/connect-js/pure
in next.js app in client side components ("use client").
Now next.js app raises error:
ConnectJS won't load when rendering code in the server - it can only be loaded on a browser. This error is expected when loading ConnectJS in SSR environments, like NextJS. It will have no impact in the UI, however if you wish to avoid it, you can switch to the `pure` version of the connect.js loader: https://github.com/stripe/connect-js#importing-loadconnect-without-side-effects.
Importing @stripe/connect-js/pure
instead of @stripe/connect-js
does not help
Any options to make it work?
Metadata
Metadata
Assignees
Labels
No labels