News for hackers. Stuff that matters.
Re:Elm for the Front End by btown on Thursday July 09, 2015 @06:29PM (#9861122)
Could you conceivably make a JSX preprocessor for Elm? Because this looks almost identical to how to do React components in CoffeeScript without JSX. And it's painful once you start getting to more than 1 level of nesting... it becomes impossible to tell, looking at a single line, whether something is meant to be an attribute or a nested component.

Moving to JSX is a godsend after that - it feels a bit odd, but once you realize that you're really writing HTML that you could always copy-paste into something-that's-not-React if you ever decided to move away from React, it's incredibly liberating.

There's this thread: https://groups.google.com/forum/#!topic/elm-discuss/uXjcVyZ5... - but no other activity on a JSX preprocessor. Has anyone else been looking into this?

There are no comments on this comment yet.