frontend-programming-in-go icon indicating copy to clipboard operation
frontend-programming-in-go copied to clipboard

WASM-HXR example is using `Fetch API`

Open smoyer64 opened this issue 9 months ago • 0 comments

In your WASM-XHR example at https://github.com/siongui/frontend-programming-in-go/blob/master/wasm/005-xmlhttprequest-xhr/xhr.go#L10, this call is actually using the Fetch API under the covers, not XMLHTTPRequest (tested on modern Chromium, FireFox and Safari ... this may have changed since you published the example.)

smoyer64 avatar Mar 01 '25 14:03 smoyer64