- State lives in TryItComponent
- Subcomponents get the state asprops
- Subcomponents pass down callbacks
- Callbacks are called by subcomponents and "bubbled" up
- setState in TryItComponent
- State lives in TryItComponent
- Subcomponents get the state asbindings (that we use one way)
- Subcomponents pass down action names
- Actions are sent by subcomponents and "bubbled" up
- set in TryItComponent
Your new post is loading...