babel-intro Flashcards

1
Q

What is Babel?

A

a compiler that converts ecma2015 into backwards compatible version of Js.

converts JSX to JS.

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

What is a Plug-in?

A

a software component that adds a specific feature to an existing computer program. (babel plugin-transofrm-block-scoping).

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

What is a Webpack loader?

A

it preprocesses a file before importing with plugins.

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

How can you make Babel and Webpack work together?

A

via babel loader (babel –> one translator for Js, while webpack is the mothership that can translate all kinds of languages).

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