Jump to content

React (software)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Executionary (talk | contribs) at 03:38, 26 June 2015 (added better/third-party notability citation). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
React
Developer(s)Facebook, Instagram and community
Initial release2013 (2013)
Stable release
0.12.2 / December 30, 2014; 10 years ago (2014-12-30)
Repository
Written inJavaScript
PlatformCross-platform
Size128 KiB production
559 KiB development
TypeJavaScript library
LicenseBSD License + Patents Clause
Websitereactjs.com

React, sometimes styled React.js or ReactJS, is an open-source JavaScript library for creating user interfaces that aims to address challenges encountered in developing single-page applications. It is maintained by Facebook, Instagram and a community of individual developers and corporations.[1][2][3]

React is intended to help developers build large applications that use data that changes over time. Its goal is to be simple, declarative and composable. React only handles the user interface in an app; it is considered to only be the view in the model–view–controller (MVC) software pattern, and can be used in conjunction with other JavaScript libraries or larger MVC frameworks such as AngularJS. It can also be used with React-based add-ons that take care of the non-UI parts of building a web application.

According to JavaScript analytics service, Libscore, React is currently being used on the homepages of Imgur, Bleacher Report, Feedly, Airbnb, SeatGeek, HelloSign, and others.[4]

Features

Virtual DOM

React maintains a virtual DOM of its own, rather than relying solely on the browser's DOM. This allows the library to determine which parts of the DOM have changed by diffing the new version with the stored virtual DOM, and using the result to determine how to efficiently update the browser's DOM.[5][6]

References

  1. ^ "React: Making faster, smoother UIs for data-driven Web apps". InfoWorld.
  2. ^ "Facebook's React JavaScript User Interfaces Library Receives Mixed Reviews". InfoQ.
  3. ^ "JavaScript's History and How it Led To ReactJS". The New Stack.
  4. ^ http://libscore.com/#React
  5. ^ "An Introduction to React.js". Instrument.
  6. ^ "Working With the Browser". React.