Lifting State In React Flashcards

(5 cards)

1
Q

What has been learned about passing information between components?

A

How to pass information down explicitly with props and how to pass information up implicitly with callback handlers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the purpose of the callback handler in this context?

A

It helps keep an open communication channel from the child component (Search) to the parent component (App).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the process of moving state from one component to another called?

A

Lifting state.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How is lifting state accomplished?

A

State is managed in parent component. A callback function is passed down via props to child component . This callback function then manages the state in the parent component

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Lifting State?

A

The process of moving state from one component to another

How well did you know this?
1
Not at all
2
3
4
5
Perfectly