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
2
Q
List the 3 react concepts
A
- Don’t touch the DOM. react got you
- Build websites like Lego blocks
- Unidirectional Data Flow
3
Q
React can be thought of as a function that takes in … and returns …
A
components and state
the virtualDOM
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.
5
Q
The unidirectional data flows makes ___ easier.
A
debugging code
6
Q
Using react to build a website is like using …
A
lego blocks
7
Q
Is react cross platform?
A
Yes
8
Q
List 6 React keywords
A
- Declarative
- JSX
- State
- Components
- Props
- VirtualDOM
9
Q
What 3 things make you a great React developer?
A
- Decide on Components
- Decide the State and where it lives
- What changes when state changes