reading-notes

View the Project on GitHub TrunkOfUkuleles/reading-notes

Questions

  1. Can a parent component access the state of a child component? Generally you would hous ethe state in the parent, but you can also pass a functioin that can pass back the state.
  2. What can be passed along in a prop variable? just about anything? Object?
  3. How can a child component “know” the state of another component? it will reflect the appropriate state in the parent, and can reflect that information down if you build it that way

Vocab

component props - arguments passed to the component from parent component state - state for the indvidual components within that execution context application state - where the app is being executed

Preview

Which 3 things had you heard about previously and now have better clarity on? stateless, props, state

Which 3 things are you hoping to learn more about in the upcoming lecture/demo? component lifecycle, props.children, rendering array of objects vs json

What are you most excited about trying to implement or see how it works? playing with states and aesthetic reflections of selections on the page