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:35, 26 June 2015 (Undid revision 665778272 by 78.40.120.244 (talk)). 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.

React is currently being used by Khan Academy,[4] Netflix,[5] Yahoo,[6] Airbnb,[7] Facebook, Instagram.com, Sony,[8] Atlassian[9] and others.

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.[10][11]

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. ^ "Backbone to React". Joel Burget.
  5. ^ "React.js conf - schedule". React.js.
  6. ^ "Yahoo Mail moving to React". Slideshare.
  7. ^ "Dev Chats: Spike Brehm of Airbnb - JavaScript development without a "greenfield app"". Medium.
  8. ^ "Mikael Brassman on Twitter: "Sony's Lifelog newly released web interface is using #refluxjs and #reactjs on the client-side"". Twitter.
  9. ^ "Wesley Walser on Twitter: "React.js is now driving @atlassian OnDemand billing pages. Small project to start adoption, positive experiences thus far."". Twitter.
  10. ^ "An Introduction to React.js". Instrument.
  11. ^ "Working With the Browser". React.