HTML5 History

You change from Hash to HTML5 history by passing in a new HTML5HistoryManager into the StateNavigator. If your Url's look like 'http://domain/app/route' then pass the 'app' base path into the HTML5HistoryManager constructor.

import {HTML5HistoryManager} from 'navigation';

const stateNavigator = new StateNavigator([
  {key: 'inbox', route: ''},
  {key: 'mail'},
  {key: 'compose'}
], new HTML5HistoryManager());