I was thinking about this too and found your post.
Jason Sebring
1

Hi Jason,

Thank you. I recently had a similar idea, but the difference was that I still wanted to manipulate dom tree, rather than reimplementing everything with WebGL. My goal was making a c++ framework similar to react or angular that allows creating web ui with c++/wasm. After studying asm-dom, as well as angular and react, my conclusion was that I need to implement a parser to understand the template, I need some bridging code to manipulate dom tree from c++ and the most difficult one, perhaps, is implementing two-way binding between a c++ variable and a place holder in the template. c++ has no dynamic reflection, implementing this needs effort and the resulting framework might not be as easy to use as react. I guess I won’t do anything too soon, until wasm supports dom tree manipulation officially.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.