Webpack participate major role in React. As React JS is JavaScript library which used handle client side as well as server side operation. These operations will increase load on client side application and to loose it burden react introduce Webpack. So, lets explore about Webpack In React.

React - webpack

Webpack is a module bundler for modern JavaScript applications. It takes modules with dependencies and generates static assets representing those modules.

When Webpack processes the application it recursively builds a dependency graph which includes every module that application needs and then converts all those modules into a small number of bundles — generally only one of those bundles to be loaded in browser.

It is highly configurable. Below are a few of th major core concepts of webpack we cover.

  • Entry
  • Output
  • Loaders
  • Dev Server (webpack-dev-server)
  • Plugins

#webpack #react #javascript

What Is Webpack In React
2.10 GEEK