DEV Community

Discussion on: Building a Simple Virtual DOM from Scratch

Collapse
 
ycmjason profile image
YCM Jason

Because Proxy wasn't ready at the time of writing this article. How do you think Proxy can be used here to improve this?

Collapse
 
to_fl profile image
Tom F.

You can create a proxy object out of a regular object, then you can listen to any change to the object and execute some code against those changes : javascript.info/proxy