Why reactjs is my go to JavaScript Library for interactive ui
VShawl
Posted on December 17, 2019
This all started when Facebook had an issue in improvising the UX for news feed fad of their application “How would it be if the newest post gets added to the news feed without even refreshing the page , How could we make more reactive components for websites”. That’s where react comes into play which stacks up Javascript to build more reactive websites. Nowadays reactjs is most preferred JS lib for PAAS kind of services, Netflix loves it, Airbnb cherishes it, Even the proprietary of all things Apple.inc uses it ,As this library is so lightweight , so no boundaries for coding extensively as such of JS frameworks . The main reason why every PAAS apps use react is mainly optimised for performance it just takes 2-5 ms for loading and the browser parses the page with ease. This is mainly because updating the changes to the DOM using Javascipt is hectic for browser it just takes time to parse it after updation which leads to performance issues. Whereas react creates a virtual DOM where you can perform your CRUD operations on that and react will find the least possible effort to update the changes in the original HTML DOM. All it takes to learn react is to learn Vanilla Js with ECMASCRIPT-5 and ES6 feautures on Javascript. But it does has some disadvantages we need a separate react-router for routing , a separate server-side rendering such as Next.js and unit testing framework called JEST for testing JS which is not an issue for other frameworks such as Angular,Ember,etc.
Finally it is the most preferred JS library.(Better than JQuery Too:P). In order to check your website’s preformance go to https://www.web.dev to see you performance stats
Posted on December 17, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
November 28, 2024
November 27, 2024