Closed nicksrandall closed 5 months ago
More info on Remix Polyfills:
I borrowed this check from the polyfill implementation here:
Hi @nicksrandall !
Thanks for the PR. It looks good to me. One thing, could you run yarn format:fix && yarn lint:fix
to fix the format?
@yusukebe Done
@nicksrandall Thanks! Merging now.
Some web frameworks (like Remix) inject polyfills for ReadableStream into the Node Runtime. This change makes sure that the server will work correctly with those polyfills. Otherwise the
instanceof
check would fail.