So . . . How About React?
What happens when an impressive Facebook engineer gets assigned to port XHP - a
PHP
version primarily relied upon for data validation and scrubbing to combat
XSS
- to JavaScript and maybe gets a bit carried away with it [5]? React! ReactJS (also known as React.js or simply React) is a library of Javascript, a programming language pivotal in the rendering of webpage elements alongside
HTML
and
CSS
. While some libraries generally try to incorporate and adapt ‘the wheel’ to make some specialized processes easier, React joins the ranks of the increasingly many that set out to completely reinvent it in many parts.
In order to understand this, one has to dive into computer science constructs and conventions that are utilized throughout modern computing. Methods of efficient and optimized design are stretched across the computer science discipline, securing implementation in many modern and future computing machines. In general, what has been implemented in React can be applied to a variety of systems in some capacity regardless of proximity to websites. Concepts such as data trees, comparison algorithms, APIs , and special data types which are used throughout React connect the library to fundamental units of computer science and in the process raise considerations many other such computational instances throughout the world may very well have or need.
To keep the question simple, though, what can React do better and why? That is the million-dollar question.
![]() |
| Image courtesy of xpagexplorer.org [15] |
Basically, what is it?
Basically speaking, Javascript is a programming language that can be used to alter the content of the website’s layout. ReactJS, like any library, utilizes its base language to ease and optimize complex sets of operations. Its features rework many elements considered fundamental in the modern browser’s data rendering scheme [2,3] implementing a reactive programming approach [1, 9, 15] and more efficient methods of DOM manipulation[1, 2, 4, 6, etc]. All of this is done to both simplify the building process and make more efficient and scalable products, aiding the whole way with complex algorithms and design principles present under the hood.So, how does it do it?
We’ve said that it does stuff efficiently, but explaining it is a lot harder. What does it mean to use Virtual DOMs and how does it benefit over using the standard DOM (on that note, what’s a DOM , anyways [7])? How does React utilize a “diffing” heuristic tree-updating algorithm with O(n) complexity [6, 11]?Using immutable objects to speed up processes [4, 5]? A reactive language [1, 2, 9]? Clearly, there are both a lot of fundamentals and innovations to learn. While everything is not 100% better than some of the other new alternatives - specialization does this - but the stark benefits have allowed the library to make a strong presence, being relied upon by sites like Netflix, Walmart, and Airbnb [11].![]() |
| Image courtesy of cleveroad.com [11] |
In order to understand this, one has to dive into computer science constructs and conventions that are utilized throughout modern computing. Methods of efficient and optimized design are stretched across the computer science discipline, securing implementation in many modern and future computing machines. In general, what has been implemented in React can be applied to a variety of systems in some capacity regardless of proximity to websites. Concepts such as data trees, comparison algorithms, APIs , and special data types which are used throughout React connect the library to fundamental units of computer science and in the process raise considerations many other such computational instances throughout the world may very well have or need.
To keep the question simple, though, what can React do better and why? That is the million-dollar question.
Bibliography
Of note, this includes both content that I have used and that which I intend to use for future posts
- [1] FreeCodeCamp.org: All the fundamental React.js concepts, jammed into this single Medium article
- [2] InfoWorld.com: React: Making faster, smoother UIs for data-driven Web apps
- [3] JLongster.com: Removing User Interface Complexity, or Why React is Awesome
- [4] OyeCode.com: REACTJS | LEARNING VIRTUAL DOM AND REACT DIFF ALGORITHM
- [5] TheNewStack.io: JavaScript’s History and How it Led To ReactJS
- [6] ReactJS.org: Docs | Reconciliation
- [7] W3.org: What is the Document Object Model?
- [8] Kambona, K., Boix, E. G., & Meuter, W. D. (2013). An evaluation of reactive programming and promises for structuring collaborative web applications. Proceedings of the 7th Workshop on Dynamic Languages and Applications - DYLA 13. doi:10.1145/2489798.2489802
- [9] Mendix.com: Making React Reactive: The Pursuit of High Performing, Easily Maintainable React Apps
- [10] Hackernoon.com: Virtual DOM in ReactJS
- [11] Cleveroad.com: REACT VS ANGULAR: TWO SIDES OF JAVASCRIPT
- [12] ReactiveManifesto.org: The Reactive Manifesto
- [13] AryWeb.nl: Reactive ReactJS: improving data flow using reactive streams
- [14] React: The Virtual DOM
- [15] Image courtesy of xpagexploter.org


Helpful post, I would like to read more about ReactJS.
ReplyDeleteReact js Training in Chennai | React js Training
have never seen a article like this before, definitely your blog will reach higher in blogger world.
ReplyDeleteSpoken English Classes in Chennai
German Classes in Chennai
CCNA Training in Chennai
Java Training in Chennai
ReactJS Course in Chennai
ReactJS Training in Chennai
Awesome blog. I would thank the blog admin for sharing this info with us.
ReplyDeleteSpoken English Classes in Velachery
Spoken English in Velachery
Spoken English Classes in Tambaram
Spoken English Class in Chrompet
Spoken English Classes in OMR Chennai
Spoken English Classes in Navalur
Spoken English Class in Ambattur
Spoken English Class in Avadi
ReplyDeleteI have never seen a article like this with more involvement in reading from my side. Amazing!!!!
Hadoop Training in Chennai
Big data training in chennai
Big Data Training in Anna Nagar
JAVA Training in Chennai
Python Training in Chennai
Android Training in Chennai
Hadoop training in chennai
Big data training in chennai
big data training in velachery
Informative post,It is useful for me to clear my doubts.I hope others also like the information you gave in your blog.
ReplyDeleteAndroid Training Institute in Chennai | Android Training Institute in anna nagar | Android Training Institute in omr | Android Training Institute in porur | Android Training Institute in tambaram | Android Training Institute in velachery
Thanks for sharing...very informative.
ReplyDeleteMobile App Development Company in Los Angeles