registerRefScope
@Composable
Convenience method for installing an ElementRefScope into an ElementScope.
This helps avoid a bunch of annoying boilerplate that the Compose HTML API otherwise requires you to do fairly regularly.
@Composable
A more flexible version of registerRefScope which allows you to transform the element type of the scope.
This can be useful in some cases where you can't get access to the raw element you want directly (e.g. because the JB widget doesn't expose a content block, like TextArea), but you can create a different element and register an ElementRefScope against that with a transformation step to get around it.