Split where the code runs from where the DOM lives
Each app's JavaScript executes in its own hidden realm with its own globals and module registry. Its rendered HTML sits in the main page, in normal layout flow.
Independently deployed applications composed into one document, one layout, and one accessibility tree — with each app's JavaScript isolated in its own realm.