Skip to content

ReactJS

Aboubacar Toure edited this page Nov 18, 2016 · 18 revisions

What is ReactJS?

React is a JavaScript library for creating user interfaces. It is particularly suited for building large applications with data that changes over time.

Main Features

Simple

Simply express how your app should look like at any given point in time, and React will automatically manage all UI updates when your underlying data changes.

Declarative

When the data changes, React conceptually hits the "refresh" button, and knows to only update the changed parts.

Build Composable Components

React is all about building reusable components. In fact, with React the only thing you do is build components. Since they're so encapsulated, components make code reuse, testing, and separation of concerns easy.

Drawbacks

  • The learning curve is steep
  • The docs are a maze of information
  • It does not support any browser below IE8
  • It makes you reinvent a lot of wheels. React is young, and because there's no canonical way to do events / component communication, you'll have to build large component libraries from scratch.
  • It doesn't have an event system (other than vanilla DOM events)
  • It doesn't have any AJAX capabilities whatsoever
  • It doesn't have any form of a data layer
  • It doesn't have promises
  • It doesn't have any application framework at all

Useful Links

ReactJS

React for Dummies

Appian: Introduction to React

[SE 202: React - Intro] (https://docs.google.com/presentation/d/13L4bZPKD969UX5sFTg_7l1W1Jxf2WlC0_dLWBhdh4b4/edit#slide=id.gc57c6fe38_0_0)

Links used for Dashboad Demo

https://www.tutorialspoint.com/reactjs/index.htm https://blog.yld.io/2015/06/10/getting-started-with-react-and-node-js/#.WC8QuztiOjR

Clone this wiki locally