Closed dakom closed 5 years ago
There was some discussion recently regarding refs: https://github.com/WebReflection/hyperHTML/issues/318. Hope it helps 😊
Lol - turns out I asked this exact question right around when I first heard of hyperHTML: https://github.com/WebReflection/hyperHTML/issues/103
Wish I gave it more of a chance then ;) happy to be checking it out again! Marking this as closed :)
Is there a mechanism in place to pass refs to the dom element?
Use case is using hyper to drive UI and create canvas element, then grab a webgl context from that element for passing to a renderer (and then cleanup when the dom element is unmounted... side question but with that additional requirement in mind, and new to hyper, do I want to start with hyper.Component?)
This isn't necessarily an Issue so feel free to close right away, just seemed like this is the best place to ask :)