We’re working in a browser environment. Typescript and react. We’re getting some XML over the wire. It contains HTML we want to preview.
How do we do that?
Idea: just use browser APIs.
So, let’s try that.
See file:sandbox.html or file:sandbox.js.