.
Hereof, what is a task runner?
Task runners are the heroes (or villains, depending on your point of view) that quietly toil behind most web and mobile applications. Task runners provide value through the automation of numerous development tasks such as concatenating files, spinning up development servers and compiling code.
One may also ask, should I use Gulp or Webpack? Webpack is a bundler whereas Gulp is a task runner, so you'd expect to see these two tools commonly used together. Instead, there's a growing trend, especially among the React community, to use Webpack instead of Gulp. For instance, Webpack already provides options for minification and sourcemaps for your bundle.
Moreover, is Webpack required for react?
No, Babel and Webpack is not necessary for React stack. However, if you want to make things easier, I do recommend you learn and use Babel and Webpack together with React because: You can use modules. You can use JSX with ES6.
What is Webpack and why use it?
Webpack is a static module bundler for JavaScript applications — it takes all the code from your application and makes it usable in a web browser. Modules are reusable chunks of code built from your app's JavaScript, node_modules, images, and the CSS styles which are packaged to be easily used in your website.