Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Events
Videos
Audiobooks
Packt Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Getting Started with React

You're reading from   Getting Started with React A light but powerful way to build dynamic real-time applications using ReactJS

Arrow left icon
Product type Paperback
Published in Apr 2016
Publisher
ISBN-13 9781783550579
Length 212 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (3):
Arrow left icon
Danillo Corvalan Danillo Corvalan
Author Profile Icon Danillo Corvalan
Danillo Corvalan
Doel Sengupta Doel Sengupta
Author Profile Icon Doel Sengupta
Doel Sengupta
Manu Singhal Manu Singhal
Author Profile Icon Manu Singhal
Manu Singhal
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Advantages of Webpack


Along the various advantages of using Webpack, as yet another bundler, these are the most important ones:

  1. Code splitting: Based on the code size, it helps modularize the code chunks of code and loads these modules as and when needed. You can define the split points on your code, based on which the code chunks will be used. Thus, it helps in faster page load and performance improvement.

  2. Loaders: As in the earlier-mentioned image, in the left-hand side, you can see that there are various other formats such as coffescripts/jsx instead of JavaScript and .less instead of .css. Thus, these loaders (npm packages) are used to convert these other formats into the accepted standardized formats, which makes the life of the developers much easy to code into any format they want. In React-based applications that we were seeing earlier, JSX formats are widely used. Hence, these loaders will come handy.

  3. Clever parsing: It helps to parse most of the third-party library and handles the...

lock icon The rest of the chapter is locked
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Getting Started with React
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime
Modal Close icon
Modal Close icon