News for hackers. Stuff that matters.
Re:Vue.js vs. React by ng12 on Saturday August 19, 2017 @03:38PM (#15055159)
How is that more readable? Furthermore, does that break at runtime if listItem is undefined or you typo'd the second num? JSX would catch it as a syntax error.
Re:Vue.js vs. React by yev on Saturday August 19, 2017 @05:24PM (#15055710)
Do you need the whole text of an error or answer "yes" will satisfy you ? :)
Re:Vue.js vs. React by ng12 on Saturday August 19, 2017 @07:01PM (#15056105)
Yeah, runtime errors are bad. I don't know why you'd want to inject a string-based language inside JS.