2) React Key Concepts Flashcards

1
Q

3 things we need to think about when it comes to architecture.

A

Code organization

Data Manipulation

Data Flow

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

List the 3 react concepts

A
  1. Don’t touch the DOM. react got you
  2. Build websites like Lego blocks
  3. Unidirectional Data Flow
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

React can be thought of as a function that takes in … and returns …

A

components and state

the virtualDOM

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

What does unidirectional data flow mean?

A

to change something on the website, the state must change in the app. and changes can only trickle down, not up.

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

The unidirectional data flows makes ___ easier.

A

debugging code

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

Using react to build a website is like using …

A

lego blocks

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

Is react cross platform?

A

Yes

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

List 6 React keywords

A
  1. Declarative
  2. JSX
  3. State
  4. Components
  5. Props
  6. VirtualDOM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What 3 things make you a great React developer?

A
  1. Decide on Components
  2. Decide the State and where it lives
  3. What changes when state changes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly