Remix.run Logo
red_admiral 3 hours ago

A "mithril" like syntax. Like you could do (wrapped over multiple lines of course)

m.div([m.h1("title"), m.p(["click", m.a({href:"..."}, "me")])])

you can do (taken from the page)

g.VStack(g.Text(...), g.HStack(...).Spacing(g.SpaceMD))

some people will like this style, others not.

neomantra 2 hours ago | parent [-]

The repo doesn't say it, but the Author noted on the Gophers Slack #showandtell that the style was inspired by SwiftUI. That VStack example shows it quite well.