react-elements Flashcards

1
Q

What is React?

A

A JavaScript library for building user interfaces or ui components

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

What is a React element?

A

A React Element is what gets returned from components. It’s an object that virtually describes the DOM nodes that a component represents.

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

Use ReactDOM.render to mount your React element into your div.

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