https://github.com/makevoid/react_rb_sample_app
React.rb sample app
https://github.com/makevoid/react_rb_sample_app
Last synced: 10 months ago
JSON representation
React.rb sample app
- Host: GitHub
- URL: https://github.com/makevoid/react_rb_sample_app
- Owner: makevoid
- Created: 2015-08-07T14:52:55.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-15T01:19:42.000Z (over 10 years ago)
- Last Synced: 2025-03-25T06:02:47.312Z (12 months ago)
- Language: JavaScript
- Homepage:
- Size: 398 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# React rb sample app
taken from the react.rb readme, repackaged to use it without sprockets
https://github.com/zetachang/react.rb#reactcomponent
A very fast opal setup - includes opal browser and react.rb - uses guard to automatically compile your .js.ruby files as you save them - has opal, opal-browser, react and react.rb vendored already in js files.
Open the project in a webserver:
python SimpleHTTPServer 3000
then open a browser at:
#### Development
install the dependencies
bundle
launch guard:
guard
modify app.rb, save and refresh the browser
(or add guard-livereload that refreshes the browser so you don't have to)