Closed mxmtsk closed 6 years ago
Because document is getting called in the ReactLayerMixin componentWillMount lifecycle method it throws a document is undefined error on the server for universal web apps.
ReactLayerMixin
componentWillMount
document is undefined
Thanks @mxmtsk! I don't think this is an issue anymore in 0.5.0.
0.5.0
@jasonkuhrt just saw the new version this morning and you're right! :)
Because document is getting called in the
ReactLayerMixin
componentWillMount
lifecycle method it throws adocument is undefined
error on the server for universal web apps.