- creating your app without any interactivity by using just props.props. this is build out your component before dealing with the meat and potatoes.
- identify and complete the minimal representation of the UI state. writing dry code.
```
Does it remain unchanged over time? If so, it probably isn’t state.
Can you compute it based on any other state or props in your component? If so, it isn’t state.
- ## How can you identify where state needs to live?
Identify every component that renders something based on that state.
Find a common owner component (a single component above all the components that need the state in the hierarchy).
Either the common owner or another component higher up in the hierarchy should own the state.
If you can’t find a component where it makes sense to own the state, create a new component solely for holding the state and add it somewhere in the hierarchy above the common owner component.
```
- higher-order functions are functions that operate on other functions either by taking them as arguments or by returning them.
- it is returning a true or false on if the input received in the greatherthan function is higher or lower than 10.
- Map and reduce would allow you to mutate arrays and since they are higher-order methods they can be applied to functions that manipulate the array. For example during our code challenge we would have a function that took in an input and with that input which was stored in an array we used map and reduce to manipulate it to get our tests passing.