You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

route.js 349B

123456789101112131415
  1. import { RouteRegistry } from '../base/navigator';
  2. import { Landing } from './components';
  3. RouteRegistry.register({
  4. component: Landing,
  5. path: '/mobile-app',
  6. onEnter: store => () => {
  7. const state = store.getState();
  8. const { landingIsShown } = state;
  9. if (landingIsShown) {
  10. return;
  11. }
  12. }
  13. });