reading-notes

Reading Notes

View the Project on GitHub simon-panek/reading-notes

Code 401: Class 28 - Component Composition


Questions

  1. Can a parent component access the state of a child component? Yes, by using a call back function.

  2. What can be passed along in a prop variable? Any and all kinds of data

  3. How can a child component “know” the state of another component? This can be done using React Hooks

Vocabulary

Read: React Basics Recap

Read: Props.Children

Read: Composition vs Inheritance

Read: React Testing Library API Example

Bookmark: React-if Component

Bookmark: React-Testing-Library-Async


Return to reading-notes Deployed Site

Return to reading-notes Mark Down