You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
client only, emulated via Fetch/XMLHttpRequest APIs; node.js requires polyfill
But I'm not having any luck figuring out how to get such a polyfill to work. The API detection happens very early in the Go program initialization, such that, as far as I can tell, it is impossible to load a polyfill in time for it to be detected.
Is the only option to prepend GopherJS's output with something like var fetch = require('fetch-node'); before executing it?