Projekte
Auf GitHub ansehen
bensmithett/sample-react-rails-app
Über uns
Sample Rails app with server-rendered React components
Web- und App-EntwicklungGemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
OriginalSample Rails app with isomorphic React components
This is a simple proof-of-concept Rails app that uses the 1.x prerelease version of the react-rails gem, which lets us:
- render React components server side
- mount the same React component on top of the server-rendered DOM client side (via an unobtrusive JS adapter)
The app displays a photo with simple list of comments and a form for adding new comments. New comments are added via Ajax, but if JS fails to load (which you can test with ?js=broken), the form submits via a full page refresh.
To get the app running:
bundle installrake db:migraterails server
Ähnliche Projekte entdecken
Wird geladen…