3 ms·
It's a shorthand, and its similar to what HTML does. If you don't like the optional shorthand, don't use it? I don't understand how this is something exclusive
by madeofpalk 7y ago
It's a shorthand, and its similar to what HTML does.
If you don't like the optional shorthand, don't use it? I don't understand how this is something exclusive to React, or something it specifically encourages.
- blhack 7y agoYeah you might be right, and it definitely possible this is common and I’m just weird for not liking it.
- christophilus 7y agoIt’s common, but you’re not weird. I’ve done a lot of React and front end programming, and I hate this pattern, too.