Currently, we have two ways to reach native HTML element from compose-web context:
AttrsScope::ref
ElementScope::DisposableEffect
However, it seems that #2 are applied before #1.
I believe applying #1 before #2 makes a lot more sense.
My reasoning for such order is that attrs (i.e. #1) are part of HTML Element's "metadata" and as such should be resolved before the content (i.e. #2)
Currently, we have two ways to reach native HTML element from compose-web context:
AttrsScope::ref
ElementScope::DisposableEffect
However, it seems that #2 are applied before #1.
I believe applying #1 before #2 makes a lot more sense. My reasoning for such order is that
attrs
(i.e. #1) are part of HTML Element's "metadata" and as such should be resolved before thecontent
(i.e. #2)