Electron + Flux + React-Router-Component Structure Desktop App - Routing not working properly

  • Electron version: 0.37.8
  • Operating system: Windows 7; 32 Bit
  • React Version: 0.13.3
  • Flux Version: 2.1.1
  • React-router-component Version: 0.25.4

Here we are using React-router-component for routing functionality. This is routing functionality code.

<Locations hash>
<Location  path="/" handler={
<Location path="/dashboard" handler=
    } />

After successful login user should navigate to dashboard page. But navigation not working immediately.

Once reload or refresh the page manually, then its navigate to dashboard page.

For navigation we using,


Any help would be greatly appreciated.