REACT ELEMENTS Flashcards

1
Q

What is React?

A

React is a declarative, efficient, and flexible JavaScript library for building user interfaces. It lets you compose complex UIs from small and isolated pieces of code called “components”

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

What is a React element?

A

Object, Smallest component of React an element describes what you want to see on the screen:

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

How do you mount a React element to the DOM?

A

select element
createRoot
root.render(whatever)

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