Well, not necessarily. Using WebAssembly, you could use any UI library you want, if it runs on OpenGL, because WebAssembly can access WebGL already. This means that the DOM may finally be replaced by something that was made for interactive graphics from the ground up, and not in retrospective.
That'd be neat, the future sounds bright.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.