BabylonJS / JsRuntimeHost

The JsRuntimeHost is a library that provides cross-platform C++ JavaScript hosting for any JavaScript engines with Node-API support such as Chakra, V8, or JavaScriptCore.
MIT License
17 stars 19 forks source link

Implement fetch API #98

Open bghgary opened 1 month ago

bghgary commented 1 month ago

When we do this, we can update Babylon.js to use the fetch API instead of XMLHttpRequest. Perhaps even deprecate XMLHttpRequest in this repo.

Note that fetch polyfill with XMLHttpRequest does work.

matthargett commented 1 month ago

Deprecating the old and replacing with modern API has my vote. Getting bundle sizes down, and eliminating mixed uses in client code would be the primary forces IMO