Réponse

<br/>

Explication

In JSX, you have to include the slash. If you write a self-closing tag in JSX and forget the slash, you will raise an error:

Fine in JSX:

<br />

NOT FINE AT ALL in JSX:

<br>

Question

syntaxe obligatoire en JSX pour balise auto-fermante (exemple : br)

Thématique