State in react is important to render changes in your application based on certain data. You can also pass that down to child components who may use it.
Higher-Order Functions are important if you need to callback to a function multiple times within a function
The single responsibility principle is a ruling saying a component in your react app should only have one job and if it ends up doing more you should break it down into smaller componenents.
Is builiding a version of your site without any interactivity or dynamic capabilities.
By implementing state into your application so you can make minimal dynamic changes to the UI
3 Questions you can ask to dtermine if something is state are: “Does it remain unchanged over time? If so, it isn’t state. Is it passed in from a parent via props? If so, it isn’t state. Can you compute it based on existing state or props in your component? If so, it definitely isn’t state!” source
By identifying which components render an element based on the state and placing it at the level that can communicate with all of them.
“Functions that operate on other functions, by taking them as arguments or by returning them.” source
Line two is a function that will return true if m is greater than n.
Map operates by returning the same amount of values(given by an array) to a new array and can apply a function for each value given.