It's useful to have refs available on created node, similar to $ - it's anyways there on eval.
let a = h`<a#id><b#id2/></a>`
a.id
That would require result to be fragment only though, otherwise simple node methods/params will possibly be obscured by ref ids. Maybe via # as a['#id']?
Window has ids exposed though without problems - own window props are left untouched.
It's useful to have refs available on created node, similar to
$
- it's anyways there on eval.That would require result to be fragment only though, otherwise simple node methods/params will possibly be obscured by ref ids. Maybe via
#
asa['#id']
? Window has ids exposed though without problems - own window props are left untouched.