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
When I try to use coverflow it just says "ReferenceError: window is not defined" and it doesn't work.
I am using react with nextjs. For now, I found a hotfix using `let Carousel = null;
try { if (global.window) { Carousel = require("react-coverflow"); } } catch (error) { console.log("!coverflow-error ", error); }`
but it's still showing me a warning Warning: Expected server HTML to contain a matching <div> in <div>. . Is there any better solution?
Warning: Expected server HTML to contain a matching <div> in <div>.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I try to use coverflow it just says "ReferenceError: window is not defined" and it doesn't work.
I am using react with nextjs.
For now, I found a hotfix using `let Carousel = null;
try {
if (global.window) {
Carousel = require("react-coverflow");
}
} catch (error) {
console.log("!coverflow-error ", error);
}`
but it's still showing me a warning
Warning: Expected server HTML to contain a matching <div> in <div>.
.Is there any better solution?
The text was updated successfully, but these errors were encountered: