/react-refresher

Refresh your React fluency before beginning 401 JavaScript Module 6! click the link below to visit the deployed site

Primary LanguageJavaScript

React Refresher

Deployed Site

Review Questions:

  1. What is state?
  2. how do you create state in a class component?
  3. What are props?
  4. Can component props change?
  5. Can component state change?
  6. What React lifecycle method must every component have?
  7. What React lifecycle method must be used when establishing class component state?
  8. What React lifecycle method would you use to load data on a page without user interaction?
  9. In what order are React lifecycle methods called?
  10. can state be passed as props? If so, what would that look like in code?