Monaca Onsen UI Discord Chat Github Repo

HTML Import Deprecation?

  • What is the Onsen team planning to do about the deprecation of HTML Import?
    It seems that the industry has “voted” for ES6 modules instead. HTML Import was never implemented natively except by Chrome, and Chrome has now removed it as of Chrome 73.
    HTML Import appears to be a key enabling technology for Onsen. The polyfill still works (for now) but depends on XMLHttpRequest then special handling of scripts, css, and html. This doesn’t seem to be a viable long-term solution, and is certainly not performant the way that native HTML Import promised to be!