Closed albertstill closed 6 years ago
We had a React server side rendering issue when this module was required, and I noticed the code assumes a browser context on require.
Before:
After:
Cheers
Quick glance, doesn't this break patch and cause an infinite loop?
@danielstjules good spot, didn't see the patch function, I've fixed it by lazily caching window.open when patch is called.
Fixed in master!
We had a React server side rendering issue when this module was required, and I noticed the code assumes a browser context on require.
Before:
After:
Cheers