...

/

The Create-react-app component

The Create-react-app component

Let's discuss the create-react-app component. By now, most of it will be self-explanatory.

We'll cover the following...

Modules

Remember how default objects can be exported without curly braces? So we import React line 1 (referring to the code given below) as default and component as named. On line 2 we import the logo from the logo.svg file. It was exported as default with the name logo from another file already. ...