Closed msjh80311 closed 5 years ago
+1
Could you try dynamic import or something similar?
In Next.js, we can use:
import dynamic from 'next/dynamic';
const SmartBanner = dynamic(import('react-smartbanner'), {
ssr: false
});
// ....
render() {
return (
<SmartBanner />
);
}
Hey guys, I tried to fix it, and publish as react-smartbanner@5.1.3-alpha.0
.
Could you help to verify it? Thanks!
Worked for me, thanks for the fix!
It solves mine too! Thanks for your help!
Thanks! Release as v5.1.3.
I get this error just after updating the package to version 5.1.2!
More to mention, I'm running a server-side rendering project.