Open developit opened 6 years ago
Curious about the syntax here:
<button {disabled}>...</button>
It seems to diverge from the corresponding spread syntax:
<button {...foo}>...</button> // which would imply one could also do: <button {...{disabled}}>...</button>
Yeah, you could (can, in fact!) do {...{disabled}}. It's basically just intended as a convenient shorthand.
{...{disabled}}
Curious about the syntax here:
It seems to diverge from the corresponding spread syntax: