Re:Front-end design, React, and a bridge over the great divide
by pcr910303 on Friday July 19, 2019 @03:43AM
(#20476879)
> That looks really ugly IMHO, compared to JSX which is more HTML-like.
The point of this is not of asthetics, (IMO it’s not that ugly :-)) but more that it just consists of common data structures that is easy to manipulate. If you’re a React person, think of directly writing JSON instead of using indirect React.createElement calls. Writing components in JSON would be impractical; (actually it might not be - I think I’ve seen blogposts using React without JSX) but writing components in cljs data structures are practical and less tooling is needed!
Perhaps it might look better if there's a bigger example?