Hi, I keep on hearing about Babel but I have no idea what it is. Could someone please explain it?
[Babel] [Javascript] What exactly is Babel, what’s the point of it, don’t browsers already run JS?
Babel.js is used by millions, so why are we running out of money?
ELI5: Babel
I was using babel all last week and this is my understanding of it. Others likely can go more in depth or correct where I went wrong here.
Presets
These are just a list of sharable .babelrc configs which contain a list of babel plugins.
Plugins
This is a snippet of code that preforms a specific transformation. The example I will use here is the trailing function comma plugin. When your run your babel command, it looks through your .babelrc file and runs each of the plugins (from the presets too) on your file(s).
Babel env
Oh lordy, this is supposed to save everything. Babel env preset is supposed to remove* the need for you to define and install your own plugins. It has everything for you. All you need to do is define your target and babel will include the plugins you need.
One thing that really helped me was to use the debug option.
More on reddit.comBabel is good in 2006. It's a masterpiece in 2020.
Iñárritu is one of my favorite filmmakers currently working. Every single movie he’s made is fantastic and his evolution as a filmmaker is insane. I love how emotional all of his work his, but Babel is a shining example of how emotionally draining his films can be. I feel like I just did a workout or something after every viewing. With my first watch, I really was not a fan of the Japanese subplot, but it grew on me over time.
More on reddit.com