How to use React Router on top of Rails router (not using react-rails gem)? : <p>Now i am making React app on top off Ruby on Rails app (with out react-rails gem) by using <a href="https://github.com/browserify-rails/browserify-rails" rel="noreferrer">browserify-rails</a> to compile js files.</p>

<p>So i tried to us <a href="https://github.com/ReactTraining/react-router" rel="noreferrer">react-router</a> to config router of the app</p>

<p>This is my main.js</p>

<pre><code>import React from 'react';
import ReactDOM  from 'react-dom';
import { Router, Route } from 'react-router';
import { browserHistory } from 'react-router';

/*Import Component*/

import DashBoard from './components/dashboard';
import Group from './components/dashboard';

/*
 *
 * Routes
 *
 * */

var routes = (
    &lt;Router history={browserHistory}&gt;
        &lt;Route path="/" component={DashBoard}/&gt;
        &lt;Route path="/group" component={Group}/&gt;
    &lt;/Router&gt;
);

ReactDOM.render(routes , document.querySelector('#main'));
</code></pre>

<p>But when i go to </p>

<pre><code>http://my.app.dev/group
</code></pre>

<p>I got </p>

<pre><code>No route matches [GET] "/group" (From Rails)
</code></pre>

<p>So how can i fix this and make React Router on top off Rails router?</p>

<p>Thanks!</p>
