react-jsx Flashcards

1
Q

What is JSX?

A

It is a syntax extension to JavaScript

JS plus some stuff

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

Why must the React object be imported when authoring JSX in a module?

A

So that we can create React element.(?)

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

How can you make Webpack and Babel work together to convert JSX into valid JavaScript?

A

Babel Loader

Plugins (under web pack.config.js)

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