DEV Community

Discussion on: Why Virtual DOM?

Collapse
 
hasnaindev profile image
Muhammad Hasnain

This article was very informative. I really learned a few things about Virtual DOM! Could you also please include the best and worst case time and space complexity for the algorithms used in Million? Thank you!

Collapse
 
aidenybai profile image
Aiden Bai

I'm not completely sure on the time and space complexity for a virtual dom tree, but I believe from what I've dug up online it's worst at O(n^3)