Anyone that attempts to use gsap-then w/ SSR will get an error a window is not defined error, since the code is designed for client side dev. Obviously there's no expectation that GSAP would work or do anything useful on the server side, but it'd be great if this worked for universal apps.
Anyone that attempts to use gsap-then w/ SSR will get an error a
window is not defined
error, since the code is designed for client side dev. Obviously there's no expectation that GSAP would work or do anything useful on the server side, but it'd be great if this worked for universal apps.I think this PR solves that.