bevacqua/react-dragula

document is not defined

unHuesio opened this issue · 4 comments

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

Issue was with fluxible and server side rendering, just needed to import lib directly on the componentDidMount

@abfx How exactly did you import the lib directly on the componentDidMount?

it has NOT resolved