title: Api response not set in redux state for nested route in reactjs
body: <p>I am learning redux and reactjs. But I am stuck in set api response in redux state. I did nested route like below.</p>
  
  <pre><code>import { initApplication } from './actions/LoadInitialParameters';
  store.dispatch(initApplication());
  render(
  &lt;Provider store={store}&gt;
      &lt;ConnectedRouter history={history}&gt;
          &lt;div&gt;
              &lt;Switch&gt;
                  &lt;Route exact path="/" component={App} /&gt;
                  &lt;Route exact path="/test" component={App}/&gt;
                  &lt;Route  path="/register" component={Registration}/&gt;
                  &lt;Route  path="/register/pet/more" component={Registration}/&gt;
              &lt;/Switch&gt;
          &lt;/div&gt;
      &lt;/ConnectedRouter&gt;
  &lt;/Provider&gt;,
  document.getElementById('root'))
  </code></pre>
  
  <p>The problem is like when I go to register path the api response set in redux state but for /register/pet/more path api response not set in the redux state.</p>
  
  <p>Give some solution for this issue</p>
  
  <p>Thanks</p>