React JSX Flashcards
1
Q
What is JSX?
A
JavaScript XML, allows us to write HTML in react/JS files
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.