1. How do you create a React App from the terminal command line?
In your desired repository preform npx create-react-app (Apps-Name)
2. If you clone a React App that has already been created, what command is needed to start developing with its dependencies?
3. How do you start the in-browser development server for a React App?
4. What folder in a React App should component files be created in?
5. What is the syntax for a function based component?
It has to have at least 4 things
import React from 'react';
function NameOfFunction() {
return (
<div>
<div/>
);
}
export default NameOfFunction
6. What direction are props passed in a React Component?
Its only in a parent to child direction
7. How is a React Component accessed in another file?
You would have to import your react component to your other file for example
import Movies from './components/Movies'
8. How do we gain access to props in a child component?
first thing is to pass props to your function as a parameter
than you could use {this.props.NameOfTheProp}