If you are just getting started with React, I hope this article will be of some help to you. In React ecosystem, Babel and Webpack play a major role and we will see what they are.
So the question is what is Babel, Webpack and why we use them?
Before answering this question, we must ask ourselves why we introduced these technologies.
Some Facts that you should know
- Not all Browsers understand ES6.
As we can see the problem clearly, we want our code to run across all browsers. Ta da!! Babel is here for the rescue.
So what problem does Webpack solves?
<script src=”hello.js” />
Webpack and Babel as One.
Thank you for reading. I hope this article was helpful to you.