This is of course very theoretical - just wondering if you have seen this paper:
http://dmwit.com/papers/201107EL.pdf
As I understood, they are passing around just the difference list (or generally, any monoid), so in theory a framework built upon such structure could probably get rid of the virtual dom and do the patching directly. There's even some kind of prototype implementation:
https://hackage.haskell.org/package/edit-lenses
https://hackage.haskell.org/package/edit-lenses-demo
This is of course very theoretical - just wondering if you have seen this paper:
http://dmwit.com/papers/201107EL.pdf
As I understood, they are passing around just the difference list (or generally, any monoid), so in theory a framework built upon such structure could probably get rid of the virtual dom and do the patching directly. There's even some kind of prototype implementation:
https://hackage.haskell.org/package/edit-lenses
https://hackage.haskell.org/package/edit-lenses-demo