Ton premier composant
Un composant est une fonction qui renvoie du JSX. Écris un composant Hello qui renvoie un titre <h1>.
- ○ Le composant Hello existe
- ○ Il renvoie un <h1>
Un composant est une fonction qui renvoie du JSX. Écris un composant Hello qui renvoie un titre <h1>.