3 ms·
I feel this way about the destructuring assignment and spread syntax in javascript, or at least a little bit. It's incredibly convenient to use, but sometimes
by mercer 9y ago
I feel this way about the destructuring assignment and spread syntax in javascript, or at least a little bit.
It's incredibly convenient to use, but sometimes when I look at 'idiomatic' React code, in particular in the context of Redux, I can't help but feel it's a bit too much, especially when I look at the code through 'teacher' eyes, and especially when it's combined with JSX. And that's not even mentioning the arrow function variants, default parameters, and other ESNext goodies.
And yet I find it difficult to keep my hands off it, because it's just so damn convenient.