Re:Why we chose Vue.js over React
by insin on Sunday December 11, 2016 @12:13PM
(#13151967)
This is how I've come to write that in React, after giving up on attempting to find a consistent way to write ternaries which I would find acceptable when revisiting them (it just never happened):
I usually put all the possible negative cases first because outside of micro-snippets they tend to be short and sweet compared to the positive condition.
[ Parent
| on HN ]
There are no comments on this comment yet.