Skip to content
New issue

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

"window" is not available during server side rendering #1

Closed
Danm72 opened this issue May 28, 2020 · 2 comments
Closed

"window" is not available during server side rendering #1

Danm72 opened this issue May 28, 2020 · 2 comments

Comments

@Danm72
Copy link

Danm72 commented May 28, 2020

WebpackError: ReferenceError: window is not defined

gatsbyjs/gatsby#309

@stackoverprof
Copy link

I can work it well with next.js framework which is server-side rendering enabled, even with server-side generation. I don't think it can be any trouble. And also 'window' are only available when it come to the browser.

@stackoverprof
Copy link

I think you should specify your own case, and your code need to be reviewed

@lazio lazio closed this as completed Oct 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants