Open flip111 opened 3 years ago
At the very least, there should be docstrings on the two runUI
s. Currently it's a bit hard to tell where you need which, unless you are copy-pasting code from a tutorial (like I am) therefore defaulting to the runUI
from VDom.Driver
I'd be happy to accept a PR adding docstrings to these two functions, and I'm tentatively open to renaming the Aff.Driver.runUI
function as I doubt it's much-used outside of packages like halogen-hooks
. But I'd rather not force every Halogen user to fix their app by renaming VDom.Driver.runUI
.
I find it pretty confusing that these two functions have the same name
Could for the next major release this be a breaking change to rename this function to something else?
VDom
has meaning in the context ofUI
butUI
has no meaning in the context ofVDom
. Since the module name is already specified toVDom
it is then logical that it doesn't contain something named withUI
.