React JSX Flashcards

1
Q

What is JSX?

A

JavaScript XML, allows us to write HTML in react/JS files

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

How does React use JSX to render components?

A

React uses the JSX file to render all the elements and all their attributes/etc and then attaches it to the dom.

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