To support a number of usecases like resize observer, we should consider changing how we do element attributes and element instantiation. In theory if we used traits, we could allow any third party to extend existing elements with traits.
This would also let us drop the need for the use dioxus_elements::* hack we need to do to get attributes in scope.
Feature Request
To support a number of usecases like resize observer, we should consider changing how we do element attributes and element instantiation. In theory if we used traits, we could allow any third party to extend existing elements with traits.
This would also let us drop the need for the
use dioxus_elements::*
hack we need to do to get attributes in scope.