Open jemeric opened 5 years ago
When using this in an isomorphic app it will fail with an error "window is undefined" before the client-side even gets a chance to render. This patch allows the server-side to specify a width/height to gracefully handle such cases.
When using this in an isomorphic app it will fail with an error "window is undefined" before the client-side even gets a chance to render. This patch allows the server-side to specify a width/height to gracefully handle such cases.