reading-notes

Class 5

Back to home page

React docs - thinking in react

Q. What is the single responsibility principle and how does it apply to components?

Q. What does it mean to build a ‘static’ version of your application?

Q. Once you have a static application, what do you need to add?

Q. What are the three questions you can ask to determine if something is state?

Q. How can you identify where state needs to live?

Higher - order functions

Q. What is a “higher-order function”?

Q. Explore the greaterThan function as defined in the reading. In your own words, what is line 2 of this function doing?

Q. Explain how either map or reduce operates, with regards to higher-order functions.

Things I want to know more about

What are some other examples of higher order functions and how simple would it be to rewrite functions to turn them into higher order functions?