Hacker News new | ask | show | jobs
by imtringued 3017 days ago
I'm wondering if it would make sense to have a virtual DOM inspired by react. This would be faster than direct DOM access via a bridge.
1 comments

A vastly simplified DOM if anything. I imagine each language will use native objects, like how .NET did it for a while.

But I don't think languages will interact with the DOM extensively once it has been properly abstracted.

One major difficulty would be to have it available quickly so a page refresh doesn't take until the WASM binary has sorted out it's internal state.