Fix safety check for requestAnimationFrame
Doing `window &&` does not achieve the expected behavior, it instead crashes with an error `ReferenceError: window is not defined`. This fix is simple and necessary for server-side rendering.pull/85/head
parent
946e34cf75
commit
394168f730
Loading…
Reference in New Issue