I recently enrolled in the edX reactjs introduction course, and one of the snippets I saw were:
<Button id = {0}/>
What do the curly braces surrounding the integer indicate? Is that the ES6 destructuring? Or is that how we embed Javascript in JSX?
On the other side, would I see the same result if I ran the same code but without the curly braces around the integer? i.e <Button id= 0/>
instead of: <Button id={0}/>
If not, why then ? Thanks everybody.