Hacker News new | ask | show | jobs
by jack_riminton 1204 days ago
I wish the syntax was more like erb i.e. <%= %> instead of { } although I'm sure someone will explain to me why they can't!
1 comments

I’m sure they could, I imagine they’re appealing to those who prefer JSX’s syntax.
Yeah that's right, I was trying to simulate JSX syntax. I'm not against ERB syntax tho, maybe the lib could eventually support both?
yeah doing a call_html_erb method would be fantastic