Render React component in backbone (CompositeView)

We wish to start moving our UI stack from our current rails+backbone to react. After reviewing the different solutions I really like react_on_rails, as it seems to fit our needs the best. We do not intend to replace the entire UI stack, but rather migrate one module at a time.

My question is how can I can I replace only a portion of the screen with react - render a react component inside a backbone view?

Call this code: https://github.com/shakacode/react_on_rails/blob/master/node_package/src/ReactOnRails.js#L150

The solution can be found here: