Skip to content

SSR Support? #104

@Ibrahimrahhal

Description

@Ibrahimrahhal

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions