unable to use with an isomorphic js setup
adamjv90 opened this issue · 3 comments
adamjv90 commented
If you try to require in horsey from a js file that is run from server (even if the creation of the horsey object does not happen on server) then your scripts are unable to run with the following error: ReferenceError: document is not defined . This also happens in horseys' dependencies. type checking document before using it seems to be the simplest solution. As a note I am trying to get horsey to work with a isomorphic react setup.
bevacqua commented
This is a React problem.
bevacqua commented