Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Latest commit

 

History

History
29 lines (19 loc) · 1.34 KB

File metadata and controls

29 lines (19 loc) · 1.34 KB
id why-react
title Why React?
permalink why-react.html
next displaying-data.html
prev docs/thinking-in-react.html
underconstruction true

Reactrb is a wrapper for the React.js library for creating user interfaces. Reactrb provides all the goodness of React combined with the expressiveness of the Ruby language.

React was built to solve one problem: building large applications with data that changes over time.

Reactrb takes this one step further. Because its uses Ruby, you can think in one language on the server and the client. Because it uses React.js you get a simple, declarative, structured way to build your UI.

Simple

You express how your app should look 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.

Learn More

You can learn more about our motivations behind building React in this blog post from the React.js site..