react-global icon indicating copy to clipboard operation
react-global copied to clipboard

doesn't work with server side prerendering

Open EXC-BAD-ACCESS opened this issue 9 years ago • 0 comments

when used with react server side prerendering (ReactDOMServer.renderToString) you will get "Unhandled rejection ReferenceError: window is not defined" dumped in your server log (because "window" global variable doesn't exist on the server.

EXC-BAD-ACCESS avatar Apr 14 '16 19:04 EXC-BAD-ACCESS