Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I find JSX is only straightforward for the simple cases. Often you wind up with unreadable, convoluted garbage because someone was trying to be clever with too many ternary operators, etc.


If you can refactor JSX with simpler js code then you should do that. It's just js expression. If u find reading js expression is harder than all those custom operators in other template languages, you can always switch.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: