|
|
|
|
|
by pcr910303
2524 days 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! |
|