3 ms·
That is because you're used to JSX. They are equivalent to me, and — disregarding the fact that you used arrow functions in one and not the other — equally easy
by Nemcue 11y ago
That is because you're used to JSX. They are equivalent to me, and — disregarding the fact that you used arrow functions in one and not the other — equally easy to read.
What would make it "hard" to read? The fact that the third argument is the text?
That's just a tiny convention.