Proxy Quick DOM

zevanrosser

Zevan Rosser

Posted on September 11, 2021

Proxy Quick DOM

In this snippet a proxy is used that makes all html node tagNames valid methods. Each method can take strings and HTMLElements as arguments in any order to create a DOM structure. This may look familiar to people who have looked a bit deeper into the inner workings of some of the popular UI libraries of the last decade.

See more stuff like this over @ Snippet Zone

💖 💪 🙅 🚩
zevanrosser
Zevan Rosser

Posted on September 11, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Proxy Quick DOM
javascript Proxy Quick DOM

September 11, 2021