thank you very much for such a simplified explanation and elegant code. I have been wanting to understand how vuejs virtual dom works.
Then i recreated your idea i was mind blown by the patch($node) function i was first confuse by how this functions know exactly which element to update on the actual DOM, until i when through the zip function over and over before i understood it.
I have currently implemented it in typescript added reactiveness, event listener.
Once again thank you some much, its individuals like you that make coding magical yet understandable 🤩
Hey! I'm YCMJason, a Software Engineer in London 👨💻. Love diving into tech puzzles and sharing them! 🧩
All views expressed here are my own opinions, so please take them with a pinch of salt! 🧂
thank you very much for such a simplified explanation and elegant code. I have been wanting to understand how vuejs virtual dom works.
Then i recreated your idea i was mind blown by the patch($node) function i was first confuse by how this functions know exactly which element to update on the actual DOM, until i when through the zip function over and over before i understood it.
I have currently implemented it in typescript added reactiveness, event listener.
Once again thank you some much, its individuals like you that make coding magical yet understandable 🤩
Thank you for your kind words. ❤️