1. How do you create a React App from the terminal command line?
npx create-react-app app-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?
must be named with Pascal Case ex.
function functionName(){
return <div></div>
}
export default functionName
6. What direction are props passed in a React Component?
7. How is a React Component accessed in another file?
import 'component name' from 'component path'
8. How do we gain access to props in a child component?
pass props as an argument through the function ex. function Button(props)