document is not defined
unHuesio opened this issue · 4 comments
unHuesio commented
I'm getting this error when compiling my react project with gulp, tought it was a linting problem but apparently not.
ReferenceError: document is not defined
unHuesio commented
Issue was with fluxible and server side rendering, just needed to import lib directly on the componentDidMount
vitorhugoanjos commented
@abfx How exactly did you import the lib directly on the componentDidMount?
jose920405 commented
+1
U1320100568 commented
it has NOT resolved