DioxusLabs / dioxus

Fullstack app framework for web, desktop, mobile, and more.
https://dioxuslabs.com
Apache License 2.0
20.05k stars 764 forks source link

The event mounted interface is clunky - we should swap to a NodeRef approach #2039

Open jkelleyrtp opened 5 months ago

jkelleyrtp commented 5 months ago

Feature Request

We should look at centralizing and simplifying how we enable imperative access to the dom. The mounteddata approach is somewhat clunk and should be swapped in favor of a Copy type managed by a global context. This would make it easier to pass around handles to elements without having to Clone.