evergreen

What the Fork is Babel?

Illustrated notes on how Babel works

If you’ve build anything on the modern web, you’ve used Babel . Nothing works without it. When I first started learning web development I didn’t pay much attention to it. But once I got deeper into learning JSX and React (more on that in my React is a Potato talk) and I needed a to understand what was up with the all the .babelrc files in my projects.

Here’s my quick one-shot summary of it:

Babel is a translator that turns different varieties of JS into ES5 - a commonly shared version

A good follow-up read is How Are Compilers & Transpilers Different?