React (web framework): differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
m top: smistamento lavoro sporco e fix vari
return() era erroneamente tradotto in restituisci
Riga 16:
 
const Saluto = () => {
Restituzionereturn (
<div className="hello-world">
<h1>Ciao, mondo!</h1>
Riga 24:
 
const App = () => {
restituiscireturn <Saluto />;
};