react-wrapper icon indicating copy to clipboard operation
react-wrapper copied to clipboard

Next 13 compatibility

Open lewi6 opened this issue 2 years ago • 3 comments

PLEASE READ

Someone ever tried to use the package on next 13 ? If yes hopefully it worked for you. I'm trying to use it in my app and nothing is working.


lewi6 avatar Jan 27 '23 19:01 lewi6

@lewi6 Thank you for opening this issue. 🙏 Please check out these other resources that might help you get to a resolution in the meantime:

This is an automated message, feel free to ignore.

wangela avatar Jan 27 '23 19:01 wangela

What is not working? You have to ensure you're initializing the Wrapper element in the client, and not server. See e.g. componentDidUpdate or useEffect.

nora-soderlund avatar Feb 19 '23 07:02 nora-soderlund

You have to set reactStrictMode to false in next.config

sumietgore avatar Jun 28 '23 12:06 sumietgore