JSX does not allow an attribute to be specified more than once.
F.ex.
<Component prop1="a" prop1="b" /> /* <- This is not allowed */
I was wondering what happens if an attribute is specified once explicitly but, additionally, another spread attribute that contains the same attribute is passed to the component:
<Component prop1="a" {...obj} /> /* where obj contains an attribute called "prop1" */
Will the order of attributes be important? E.g. will the second attribute override the first one?