React Flashcards

1
Q

What is babel used for with React?

A

Babel transpiles jsx to javascript so it can later be read by the browser/JS engine

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

What is webpack used for with React?

A

Webpack merges(bundles) all files in the react directory to one file to send to the browser, linked via script tag to index.html

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

What is a component in React?

A

A function that RETURNS some JSX

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