Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
JavaScript by Example

You're reading from   JavaScript by Example Learn modern web development with real-world applications

Arrow left icon
Product type Paperback
Published in Aug 2017
Publisher Packt
ISBN-13 9781788293969
Length 298 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Dani Akash S Dani Akash S
Author Profile Icon Dani Akash S
Dani Akash S
Arrow right icon
View More author details
Toc

Why use a framework?

Modern application development is all about speed, maintainability, and scalability. Given the web is the major platform for many applications, the same will be expected for any web applications. JavaScript may be a great language but writing plain JavaScript can be a tedious process at times when you are dealing with a large application in a team environment.

In such applications, you will have to manipulate a lot of DOM elements. Whenever you make changes to the CSS of a DOM element, it is called a repaint. It will affect how an element appears on the browser. Whenever you remove, change, or add an element in the DOM, then it is called a reflow. A reflow of a parent element causes all its child elements to reflow too. Repaints and reflows are expensive operations because they are synchronous. It means when a repaint or reflow happens, JavaScript will not...

lock icon The rest of the chapter is locked
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