How to write your own Virtual DOM
deathmood
4.6K36

While this post is very interesting, it’s always complicated in real world. Besides the element diffing in this post, there are also list diffing(by key), attributes diffing, style diffing, events diffing, which will make the solution much longer. As I found during building Respo https://github.com/mvc-works/respo/blob/master/compiled/src/respo/render/differ.cljc#L295

Like what you read? Give JiyinYiyong a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.