Questions
To recap what we have learned in this chapter, try to answer the following questions:
- What are good ways to structure folders in React?
- Which principle should we use when splitting up React components?
- What does the
map
function do? - How does destructuring work, and when do we use it?
- How does the spread operator work, and when do we use it?
- How do we deal with form validation and submission?
- Where should local State Hooks be defined?
- What is global state?
- Where should global State Hooks be defined?