Attribut de syntaxe identique à REACT

const x = 42;
const elm = <MyComponent {...{x}} />;
Inexpensive Ibis