React03 – First component

A new project will be created:

It will then ask you for a proyect name . If you want, name it react03.

Inside the src folder, create the components folder. Then, create the HelloWorld.jsx file with the following contents:

The component that was just created will be used in the App.jsx file:

In your browser you will see the following screen:

The following structure remains in your project:

grafeno30

Computer science teacher, former analyst/programmer for the Andalusian Regional Government. He holds a degree in computer engineering from the Higher Technical School of Seville.

Ver todas las entradas