You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# React.rb
1
+
# React.rb
2
2
3
3
### A complete [React.js](http://facebook.github.io/react/)[Opal Ruby](http://opalrb.org) wrapper.
4
4
@@ -14,7 +14,7 @@ and true React.js engine. :heart:
14
14
15
15
### Important: current `react.rb` gem users please [read this!](#road-map)
16
16
17
-
## Installation
17
+
## Installation
18
18
19
19
Install the gem, or load the js library
20
20
@@ -35,11 +35,11 @@ Each react component class has a render method that generates the markup for tha
35
35
36
36
Each react component class defines a new tag-method in the DSL that works just like built-in html tags, so react components can render other react components.
37
37
38
-
As events occur, components update their state, which causes them to rerender, and perhaps pass new parameters to lower level components, thus causing them to rerender.
38
+
As events occur, components update their state, which causes them to rerender, and perhaps pass new parameters to lower level components, thus causing them to rerender.
39
39
40
-
Under the hood the actual work is effeciently done by the [React.js](http://facebook.github.io/react/) engine.
40
+
Under the hood the actual work is effeciently done by the [React.js](http://facebook.github.io/react/) engine.
41
41
42
-
React.rb components are *isomorphic* meaning they can run on the server as well as the client. This means that the initial expansion of the component tree to markup is done server side, just like ERB, or HAML templates. Then the same code runs on the client and will respond to any events.
42
+
React.rb components are *isomorphic* meaning they can run on the server as well as the client. This means that the initial expansion of the component tree to markup is done server side, just like ERB, or HAML templates. Then the same code runs on the client and will respond to any events.
43
43
44
44
React.rb integrates well with Rails, Sinatra, and simple static sites, and can be added to existing web pages very easily, or it can be used to deliver complete websites.
45
45
@@ -82,7 +82,7 @@ Please let us know either at [Gitter.im](https://gitter.im/zetachang/react.rb) o
82
82
## Contributing
83
83
84
84
This project is still in early stage, so discussion, bug reports and PRs are
0 commit comments