Babel Flashcards
What is Babel?
Babel is a JS compiler that translates the source code into a compatible version for older browsers or environments.
What is a plug-in?
A plug-in a software component that adds extra features to an existing application/program.
What is a Webpack loader?
A Webpack loader is software that allows us to pre-process files as we import them or “load” them.
How can you make Babel & Webpack work together?
By using Babel Loader.
What is Babel loader?
It’s a package that allows transpiling JavaScript files using Babel & Webpack.
What are loaders in programming?
Loaders are transformations that are applied to the source code of a module. They allow you to pre-process files as youimportor “load” them.
Why do we need Babel to translate code into older versions?
This is because browsers can’t keep up with the new updates of JavaScript.