Re:Show HN: Fastn, a JavaScript tool for building user inter...
by joshstrange on Wednesday July 01, 2015 @02:59PM
(#9814299)
You mention react but it's does the same thing does it not? JSX is transformed into stuff like React.DOM.li('text', {/options/}) (<- I've only played with react and only written JSX so IDK if that's even right) which looks very similar to what is shown here.
Re:Show HN: Fastn, a JavaScript tool for building user inter...
by kowdermeister on Wednesday July 01, 2015 @04:51PM
(#9815060)
Not entirely the same. React forces the template into a single render function. In this case the whole code is about element rendering. Presentation layer generating code can be anywhere, that's why I think it's messy.
Of course some might like it for some use cases.
Bad sign for me. There's many valid reasons to have a markup available for we applications. Embedding layout this deep into code is just messy for me. The best acceptable way (for me) so far is React.