message: Moved lazy imports to top of page
diff: @@ -3,21 +3,17 @@ import { StateNavigator } from 'navigation';
  import { NavigationContext, NavigationHandler } from 'navigation-react';
  import React, { Suspense, lazy } from 'react';
  import ReactDOM from 'react-dom';
  +var Listing = lazy(() => import('./People'));
  +var Details = lazy(() => import('./Person'));
  var stateNavigator = new StateNavigator([
  {key: 'people', route: '{pageNumber?}', defaults: {pageNumber: 1 }},
  {key: 'person', route: 'person/{id}', defaults: {id: 0 }, trackCrumbTrail: true}
  ]);
  -stateNavigator.states.people.renderView = ({pageNumber}) => {
  - var Listing = lazy(() => import('./People'));
  - return <Listing people={searchPeople(pageNumber)} />
  -};
  -
  -stateNavigator.states.person.renderView = ({id}) => {
  - var Details = lazy(() => import('./Person'));
  - return <Details person={getPerson(id)} />
  -};
  +var {people, person} = stateNavigator.states;
  +people.renderView = ({pageNumber}) => <Listing people={searchPeople(pageNumber)} />;
  +person.renderView = ({id}) => <Details person={getPerson(id)} />;
  stateNavigator.start();
  