It would be great if componentize-js (or possibly one level lower at StarlingMonkey) could expose a platform detection mechanism JS that is used for components to rely upon. This would enable building "isomorphic" codebases that could work in wasm as well as non-wasm environments, assuming that builds were properly set up to produce such JS projects.