- When should you inherit component state?
- You should never inherit component state
- Only when you have many different components that all share the same state structure, but render different output
- Only when you want to share state between two or more components
- What is a higher-order component?
- A component rendered by another component
- Another name for a functional component
- A component that returns another component
- If you inherit JSX from a component, what should you override?
- Nothing. You're only inheriting to provide a new name for the component.
- You should only override the state.
- You can pass new state values to the inherited component in componentDidMount().