Question · JavaScript and React course · Module 8: Advanced React Patterns
Child-Parent Communication in React
What communication pattern do we use when a child component needs to pass data to the parent component?
Answer options
- Props down - passing data downward
- Callbacks up - calling a callback function passed by the parent
- Context API - global sharing
- Redux store - centralized state storage
You can check the correct answer by solving this task in the CodeWorlds game.