logoalt Hacker News

Guillaume86today at 1:29 PM1 replyview on HN

Just took a glance so I may be completely wrong, fell free to ignore, but if I understand correctly, tsrx is just syntactic sugar for normal tsx code and does not enable anything new?

If this is the case: I think introducing tsrx as part of Octane muddies the water a bit and makes me more hesitant to try (even if it is optional).

The idea to make tsx files more readable may be interesting but in that case it should go into its own separate project, and maybe just put a lang toggle in Octane docs and a page about tsrx compat, that way if people are intrigued by the new syntax they can just look it up but the docs stay focused.


Replies

adzmtoday at 3:08 PM

agreed, tsrx is neat as supported but personally i'm not a fan of it, makes me think of angular and more domain specific language stuff. the whole tsrx angle makes me wary of this project entirely, which is a shame, since octane does sound pretty neat. i'll still check it out, but this was indeed my initial reaction upon seeing tsrx here

show 1 reply