react-elements Flashcards
1
Q
What is React?
A
React is a JavaScript library for building user interfaces.
2
Q
What is a React element?
A
An element describes what you want to see on the screen: HTML Element
React elements are plain objects, and are cheap to create. React DOM takes care of updating the DOM to match the React elements.
3
Q
How do you mount a React element to the DOM?
A
ReactDOM.render()