react_on_rails 6.0.0.beta.5 → 6.0.0.rc.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -7
- data/lib/react_on_rails/version.rb +1 -1
- data/package.json +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68bfa72cdabcd0e2d861afb7da5ca7af104b5140
|
4
|
+
data.tar.gz: baac4a7186be9bc820dfe64b660b241c08bba3fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cd07693555179d1e8ddc79fc7c495eeaee20ce5081f8897c5d79af468c1a98f219ae9ff76b9ecb4a4875c189b21ba32f05de6ee8c84ddc1bb1b89c31f909dda
|
7
|
+
data.tar.gz: 5753b635513ceb439fc2f19f9a453a27533ee07c1435811f0aa982727136fb1f07316e73b0108aa9d89617c3506797d34fd5622e2f9359e1a73c1b376ca3c01a
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# NEWS
|
4
4
|
* 2016-05-11: 6.0.0-rc.1 Released! Simplified generator and install process! See the [CHANGELOG.md](./CHANGELOG.md) for details.
|
5
5
|
* [New slides on React on Rails](http://www.slideshare.net/justingordon/react-on-rails-v4032).
|
6
|
-
* 2016-02-28: We added a [Projects page](./PROJECTS.md) and a [Kudos page](./KUDOS.md). Please edit the page and add your project or [email us](mailto:contact@shakacode.com) and we'll add you. We also love stars as it helps us attract new users and contributors.
|
6
|
+
* 2016-02-28: We added a [Projects page](./PROJECTS.md) and a [Kudos page](./KUDOS.md). Please edit the page and add your project or [email us](mailto:contact@shakacode.com) and we'll add you. We also love stars as it helps us attract new users and contributors. Also, see [Positive Feedback](https://github.com/shakacode/react_on_rails/issues/347) for screen grabs of nice comments!
|
7
7
|
* *See [NEWS.md](NEWS.md) for more notes over time.*
|
8
8
|
|
9
9
|
# NOTES
|
@@ -11,14 +11,14 @@
|
|
11
11
|
* [ShakaCode](http://www.shakacode.com) is doing Skype plus Slack/Github based coaching for "React on Rails". [Click here](http://www.shakacode.com/work/index.html) for more information.
|
12
12
|
* Be sure to read our article [The React on Rails Doctrine](https://medium.com/@railsonmaui/the-react-on-rails-doctrine-3c59a778c724) and see [slides on React on Rails](http://www.slideshare.net/justingordon/react-on-rails-v4032).
|
13
13
|
* [React Webpack Rails Tutorial Code](https://github.com/shakacode/react-webpack-rails-tutorial) along with the live example at [www.reactrails.com](http://www.reactrails.com).
|
14
|
-
* [Projects](PROJECTS.md) using and [KUDOS](./KUDOS.md) for React on Rails. Please submit yours!
|
14
|
+
* See [Projects](PROJECTS.md) using and [KUDOS](./KUDOS.md) for React on Rails. Please submit yours!
|
15
15
|
* On Twitter, follow [@railsonmaui](https://twitter.com/railsonmaui) and [@shakacode](https://twitter.com/shakacode) for updates on releases.
|
16
16
|
|
17
17
|
# React on Rails
|
18
18
|
|
19
19
|
**Project Objective**: To provide an opinionated and optimal framework for integrating **Ruby on Rails** with modern JavaScript tooling and libraries, including [**Webpack**](http://webpack.github.io/), [**Babel**](https://babeljs.io/), [**React**](https://facebook.github.io/react/), [**Redux**](https://github.com/reactjs/redux), [**React-Router**](https://github.com/reactjs/react-router). This differs significantly from typical Rails. When considering what goes into **react_on_rails**, we ask ourselves, is the functionality related to the intersection of using Rails and with modern JavaScript? If so, then the functionality belongs right here. In other cases, we're releasing separate npm packages or Ruby gems. If you are interested in implementing React using traditional Rails architecture, see [react-rails](https://github.com/reactjs/react-rails).
|
20
20
|
|
21
|
-
React on Rails integrates Facebook's [React](https://github.com/facebook/react) front-end framework with Rails. React v0.14.x and greate is supported, with server rendering. [Redux](https://github.com/reactjs/redux) and [React-Router](https://github.com/reactjs/react-redux) are supported as well, also with server rendering. See the Rails on Maui [blog post](http://www.railsonmaui.com/blog/2014/10/03/integrating-webpack-and-the-es6-transpiler-into-an-existing-rails-project/) that started it all!
|
21
|
+
React on Rails integrates Facebook's [React](https://github.com/facebook/react) front-end framework with Rails. React v0.14.x and greate is supported, with server rendering. [Redux](https://github.com/reactjs/redux) and [React-Router](https://github.com/reactjs/react-redux) are supported as well, also with server rendering, using either **execJS** or a [Node.js server](https://github.com/shakacode/react_on_rails/blob/master/docs%2Fadditional-reading%2Fnode-server-rendering.md). See the Rails on Maui [blog post](http://www.railsonmaui.com/blog/2014/10/03/integrating-webpack-and-the-es6-transpiler-into-an-existing-rails-project/) that started it all!
|
22
22
|
|
23
23
|
## Including your React Component in your Rails Views
|
24
24
|
Please see [Getting Started](#getting-started) for how to set up your Rails project for React on Rails to understand how `react_on_rails` can see your ReactComponents.
|
@@ -72,8 +72,6 @@ Please see [Getting Started](#getting-started) for how to set up your Rails proj
|
|
72
72
|
- [ReactOnRails JavaScript API](#reactonrails-javascript-api)
|
73
73
|
- [React-Router](#react-router)
|
74
74
|
- [Deployment](#deployment)
|
75
|
-
+ [Adding Additional Routes for the Dev Server](#adding-additional-routes-for-the-dev-server)
|
76
|
-
+ [Migrate From react-rails](#migrate-from-react-rails)
|
77
75
|
+ [Additional Reading](#additional-reading)
|
78
76
|
+ [Contributing](#contributing)
|
79
77
|
+ [License](#license)
|
@@ -402,6 +400,9 @@ Components are created as [stateless function(al) components](https://facebook.g
|
|
402
400
|
|
403
401
|
*Note:* You will not be doing any partial updates to the Redux store when loading a new page. When the page content loads, React on Rails will rehydrate a new version of the store with whatever props are placed on the page.
|
404
402
|
|
403
|
+
## ReactOnRails JavaScript API
|
404
|
+
See [ReactOnRails JavaScriptAPI](docs/api/javascript-api.md).
|
405
|
+
|
405
406
|
## React Router
|
406
407
|
[React Router](https://github.com/reactjs/react-router) is supported, including server side rendering! See:
|
407
408
|
|
@@ -420,6 +421,7 @@ Components are created as [stateless function(al) components](https://facebook.g
|
|
420
421
|
+ [React on Rails, Slides](http://www.slideshare.net/justingordon/react-on-rails-v4032)
|
421
422
|
+ [The React on Rails Doctrine](https://medium.com/@railsonmaui/the-react-on-rails-doctrine-3c59a778c724)
|
422
423
|
+ [Installation Overview](docs/basics/installation-overview.md)
|
424
|
+
+ [Migration from react-rails](docs/basics/migrating-from-react-rails.md)
|
423
425
|
+ [Babel](docs/additional-reading/babel.md)
|
424
426
|
+ [Heroku Deployment](docs/additional-reading/heroku-deployment.md)
|
425
427
|
+ [Manual Installation](docs/additional-reading/manual-installation.md)
|
@@ -467,8 +469,7 @@ The origins of the project began with the need to do a rich JavaScript interface
|
|
467
469
|
|
468
470
|
The gem project started with [Justin Gordon](https://github.com/justin808/) pairing with [Samnang Chhun](https://github.com/samnang) to figure out how to do server rendering with Webpack plus Rails. [Alex Fedoseev](https://github.com/alexfedoseev) then joined in. [Rob Wise](https://github.com/robwise), [Aaron Van Bokhoven](https://github.com/aaronvb), and [Andy Wang](https://github.com/yorzi) did the bulk of the generators. Many others have [contributed](https://github.com/shakacode/react_on_rails/graphs/contributors).
|
469
471
|
|
470
|
-
We owe much gratitude to the work of the [react-rails gem](https://github.com/reactjs/react-rails).
|
471
|
-
|
472
|
+
We owe much gratitude to the work of the [react-rails gem](https://github.com/reactjs/react-rails).
|
472
473
|
|
473
474
|
## About [ShakaCode](http://www.shakacode.com/)
|
474
475
|
|
data/package.json
CHANGED