it's quite slow compared to other virtual dom implementations - this is probably something you wouldn't use in production, but rather as a learning tool to understand virtual DOM
How should one approach learning about building a virtual DOM? Are there any particular resources or pieces of literature you recommend taking a look at?
Sure! I don't recommend any of the React-based virtual DOM articles yet, often they're pretty complicated and will confuse you. I wrote an article here with an even simpler implementation of the virtual DOM: https://dev.to/aidenybai/how-does-virtual-dom-work-b74.
Basically anything that guides you in building a virtual DOM is a good article
It's significantly different. The article attempts to build a reactivity model and directives handler (two integral parts of Vue), while this is a Virtual DOM, which is a different approach to declaratively representing UI.
6 comments
[ 3.0 ms ] story [ 25.7 ms ] threadBasically anything that guides you in building a virtual DOM is a good article
I think you meant this article: https://zserge.com/posts/worst-react-ever/
In that case, it's pretty different in implementation