News for hackers. Stuff that matters.
Re:Vue.js vs. React by gunn on Saturday August 19, 2017 @02:00PM (#15054678)
Can that actually help react look better here? I'm currently imagining:

  { do {
    if (condition_expression) {
      template_evaluation
    }
  }}
Re:Vue.js vs. React by spion on Saturday August 19, 2017 @03:25PM (#15055107)
For a single expression some of it can be omitted:

  { do { if (condition_expression) template_evaluation }}
But I gues thats not really better.

I'm hoping jsx will eventually default to `do` expressions though, and then it becomes

  { if (conditional_expression) template_evaluation }