React - Udemy Flashcards

1
Q

React

A
  • A JavaScript library for building user interfaces
  • Makes building complex, interactive, reactive UI’s simpler
  • Component based
  • Uses declarative approach
  • Always define the desired target state (and let React figure out the actual JS DOM instructions) instead of DOM manipulation and creation?
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are components?

A
  • individual, reusable building blocks used to build user interfaces
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why components?

A
  • reusable: DRY
  • separate of concerns: instead of a large file with all the HTML and JS, we separate each component by functionality and purpose/task
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How is a component built?

A
  • combine HTML, CSS, JS to build individual components

- then combine all these components together to build an application/UI

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