2 ms·
That looks really ugly IMHO, compared to JSX which is more HTML-like. Perhaps it might look better if there's a bigger example?
by benbristow 7y ago
That looks really ugly IMHO, compared to JSX which is more HTML-like.
Perhaps it might look better if there's a bigger example?
- pcr910303 7y ago> 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!