Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jack_riminton
· 3y ago · 0 comments
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!
Comments
[–]
__ryan__
3y ago
I’m sure they could, I imagine they’re appealing to those who prefer JSX’s syntax.
[–]
camertron
3y ago
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?
[–]
jack_riminton
OP
3y ago
yeah doing a call_html_erb method would be fantastic