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
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
3
Q
What is a component in React?
A
A function that RETURNS some JSX