diff --git a/frontend/state-management/README.md b/frontend/state-management/README.md index 3f21b57..99ac09d 100644 --- a/frontend/state-management/README.md +++ b/frontend/state-management/README.md @@ -3,7 +3,9 @@ ## QUESTIONS - What is state in react? Why is state management important? + State is an object that houses data that changes over time in an application. State management is important because it is essential in displaying what is shown and stored - What is context? When would you use it? + Context is a way to pass data between parent and child components. We would use it when we want to share state between components that don't necessarily rely on each other. ## RESOURCES