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

SSR Support? #104

Open
Ibrahimrahhal opened this issue Oct 7, 2022 · 1 comment
Open

SSR Support? #104

Ibrahimrahhal opened this issue Oct 7, 2022 · 1 comment

Comments

@Ibrahimrahhal
Copy link

Ive tried to use this plugin within my SSR bundle config & It seems to be not supported on the server side with this error:-
window.__REACT_ERROR_OVERLAY_GLOBAL_HOOK__=window.__REACT_ERROR_OVERLAY_GLOBAL_HOOK__| {},window.__REACT_ERROR_OVERLAY_GLOBAL_HOOK__.iframeReady=function ({re=!0,te=!1,ve()},"production"===process.env.NODE_ENV&&console.warn("react-error-overlay is not meant for use in production. You should ensure it is not included in your build to reduce bundle size.")}])})); ReferenceError: window is not defined at Object.<anonymous> ($PATH/node_modules/react-error-overlay/lib/index.js:1:216)

@gregberge
Copy link
Owner

I am sorry, I don't actively maintain this project. Feel free to submit a PR to fix it, else I can't help.

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

2 participants