just ran across this, and might be an interesting option for working with the dom in squint https://github.com/cjohansen/replicant
Then this should be translated to squint right
In theory, not sure if macros might be a problem