Babel Flashcards
What is Babel?
Babel is a toolchain that is mainly used to convert ECMAScript 2015+ into a backwards compatible version of JS in older and current browsers or environments
What is a plugin?
it adds a specific feature to an existing computer program
What is a Webpack loader?
transformations that are applied to the source code of a module that allow you to “translate” them
How can you make Babel and Webpack work together?
you have to install them
What is JSX?
Syntactical sugar for react
Why must the React object be imported when authoring JSX in a module?
JSX is not really JS but Syntactical sugar for react
How can you make Webpack and Babel work together to convert JSX into valid JS?
install the babel plugin for transform react JSX