Closed fredemmott closed 4 years ago
Would this require adding a prefix everywhere?
Yep...
Or would we expect people to do
use type XhpLib\HTML\{a, div};
... or more likely, a separate library adding aliases/wrappers in the root namespace.
"HTML is not special" is an aspirational goal that can:
also, expecting most code in the future to be namespaced - so it'll already need to be <:a>
instead of <a>
; adding the NS isn't a much bigger usability change.
There's also arguments for it not to be special even if only used for frontend work:
<ui:link>
instead of <a>
Would this require adding a prefix everywhere?
Or would we expect people to do