Skip to content
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.

window should not be defined during SSR #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ernestre
Copy link

Some react libraries render their components differently if the window object is defined. Currently if the window object is unefined, this is assigned to the window, which is not the actual window object. This causes errors like these :

webpack-internal:///643:57: TypeError: Cannot read property 'userAgent' of undefined

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant