JSX Flashcards
1
Q
What is JSX?
A
It is a syntax extension to JavaScript that can be used to represent UI (lets you pass HTTP into javascript). It can be used to create React elements.
2
Q
Why must the React object be imported when authoring JSX in a module?
A
To allow the JSX to be rendered
3
Q
How can you make Webpack and Babel work together to convert JSX into valid JavaScript?
A
You can use loaders to have it convert to JavaScript