react-jsx Flashcards
1
Q
What is JSX?
A
JSX is a syntax extension to JavaScript used with React to describe what UI should look like.
2
Q
Why must the React object be imported when authoring JSX in a module?
A
Otherwise after babel converts your code from jsx your create element methods will be undefined.
3
Q
How can you make Webpack and Babel work together to convert JSX into valid JavaScript?
A
Babel loader