Comment Comment by hex13 I wish it could be possible to write this:const animal = "cat"; <Component {animal} /> equivalent to: <Component animal={animal} /> parent hex13 10 years ago
const animal = "cat"; <Component {animal} /> equivalent to: <Component animal={animal} />