Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
maddalax
· 2y ago · 0 comments
What makes you believe the prefix can’t be omitted in htmgo? You just alias it the same way with a ‘.’
Comments
[–]
novoreorx
2y ago
Sorry, I made a mistake. I thought the HTML tag functions were accessed through `ctx`, which is passed to the page function. It's true that we can import them directly to access `Div`, `Class`, etc.