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
Currently all the javascript snippets are loaded when the wasm module is requested. When the entire app rendered via that module and it also requests javascript which isn't needed immediately, it causes a lot of network requests which can be delayed off.
Proposed Solution
Allow lazy loading of javascript snippets.
Alternatives
As far as I'm aware, the only solution is to load everything when the wasm module is loaded.
Additional Context
I'm making a wrapper around @material web components for Yew and want to load the javascript files as needed.
The text was updated successfully, but these errors were encountered:
Motivation
Currently all the javascript snippets are loaded when the wasm module is requested. When the entire app rendered via that module and it also requests javascript which isn't needed immediately, it causes a lot of network requests which can be delayed off.
Proposed Solution
Allow lazy loading of javascript snippets.
Alternatives
As far as I'm aware, the only solution is to load everything when the wasm module is loaded.
Additional Context
I'm making a wrapper around
@material
web components for Yew and want to load the javascript files as needed.The text was updated successfully, but these errors were encountered: