News for hackers. Stuff that matters.
Re:Foolproof HTML by madeofpalk on Saturday February 04, 2017 @07:42PM (#13570054)
Yes! This is what I like about JSX/React - you're actually writing the markup as function calls/data structure so invalid syntax is immediately obvious as missing a closing parentheses for a function call.
Re:Foolproof HTML by veneficia on Sunday February 05, 2017 @02:07AM (#13571312)
I'm not sure how React/JSX highlights the markup issues. The clarity that Jade/YAML syntax provides is hard to achieve with the clumsy looking React/JSX spaghetti code that facebook has sold to frontend devs.