Sinatra and React.js

Has anyone used Sinatra with react.js ?

Tried using the react-rails gem but it seems specific to rails - it
doesn’t work with Sinatra and looking at the gem source, we’re not sure
how to create the component object for Sinatra

Have you tried “react.rb” gem [https://github.com/zetachang/react.rb] ?
It may suit your needs.

sorry for late response to this - we decided that Opal might be a better
solution than React so now experimenting with Volt.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs