react-measure
react-measure copied to clipboard
ReferenceError: document is not defined
When running on the server, 3.0.0-rc.3 fails with:
node_modules/react-measure/lib/utils.js:15 var body = document.body; ^ ReferenceError: document is not defined
Same problem here
EDIT: Just saw that you're rewriting the package and we should install version 2, not 3.