3 ms·
Can that actually help react look better here? I'm currently imagining: { do { if (condition_expression) { template_evaluation } }}
by gunn 9y ago
Can that actually help react look better here? I'm currently imagining:
{ do {
if (condition_expression) {
template_evaluation
}
}}
- spion 9y agoFor 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 }