Changed the way we distinguish client from server
Changelog
- Changed a way we distinguish client from server #239 (thanks to @BohdanYavorskyi)
- Improved the docs (@kkomelin)
We've just switched from typeof process === 'undefined'
to typeof window !== 'undefined'
for detecting the client. More details here #239
See the complete changelog for more details.