aframevr / aframe-inspector

:mag: Visual inspector tool for A-Frame. Hit *<ctrl> + <alt> + i* on any A-Frame scene.
https://aframe.io/aframe-inspector/examples/
MIT License
654 stars 201 forks source link

Consider using Web Worker for XHRs that need to lazy-load metadata (e.g., for components) #314

Closed cvan closed 5 years ago

cvan commented 8 years ago

If you're worried about XHRs causing pauses in the scene/editor rendering, consider moving all your XHRs to Web Workers and just postMessage the JSON back. Wouldn't be more than a few lines of code to shove all the necessary XHRs to a Worker to add some smooth lazy loading.

(Filed because of #313.)

fernandojsg commented 7 years ago

@ngokevin do you think we need it with the current implementation?