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 [GitHub - zetachang/react.rb: Opal Ruby wrapper of React.js library.] ?
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.