https://github.com/arkency/rethinkdb-reactjs
rethinkdb + react.js + ActionController::Live (Rails) + Server Side Events
https://github.com/arkency/rethinkdb-reactjs
Last synced: 8 months ago
JSON representation
rethinkdb + react.js + ActionController::Live (Rails) + Server Side Events
- Host: GitHub
- URL: https://github.com/arkency/rethinkdb-reactjs
- Owner: arkency
- Created: 2015-04-26T13:58:26.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-26T14:08:24.000Z (over 10 years ago)
- Last Synced: 2024-07-23T03:39:16.741Z (over 1 year ago)
- Language: Ruby
- Size: 148 KB
- Stars: 22
- Watchers: 14
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-rethinkdb - RethinkDB Reactjs - rethinkdb + react.js + ActionController::Live (Rails) + Server Side Events. (Awesome RethinkDB [](https://github.com/sindresorhus/awesome) / Table of Contents)
README
# RethinkDB + React.JS + Rails - proof of concept
* Just a spike of what could be a cool idea.
[](https://www.youtube.com/watch?v=P9Upn194b9M)
## Where to look for code
* [React component](https://github.com/arkency/rethinkdb-reactjs/blob/master/app/assets/javascripts/components/show_article.js.coffee)
* [First render](https://github.com/arkency/rethinkdb-reactjs/blob/master/app/views/articles/show.html.erb#L4)
* [Establish SSE connection and re-render when new data arrived](https://github.com/arkency/rethinkdb-reactjs/blob/master/app/assets/javascripts/application.js.coffee#L12)
* [RethinkDB communication](https://github.com/arkency/rethinkdb-reactjs/blob/master/app/controllers/start_controller.rb#L26)