How to use the mobx-router.RouterStore function in mobx-router

To help you get started, we’ve selected a few mobx-router examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github doug-wade / sizzy / src / stores / store.js View on Github external
// @flow
import AppStore from 'stores/app-store';
import {RouterStore} from 'mobx-router';

const store = {
  app: new AppStore(),
  router: new RouterStore()
};

export default store;
github mateeyow / sizzy-docker / src / stores / store.js View on Github external
// @flow
import AppStore from 'stores/app-store';
import {RouterStore} from 'mobx-router';

const store = {
  app: new AppStore(),
  router: new RouterStore()
};

export default store;
github blueskydigital / react-mobx-admin / examples / blog / js / state / index.js View on Github external
constructor(views) {
    super()
    this.router = new RouterStore()
    this.views = views
    this.router.cv = {}
    this.listconfs = {}
    this.editconfs = {}
    PostsInfoInit(this, this.editconfs, this.listconfs)
    TagsInfoInit(this, this.editconfs, this.listconfs)
  }
github be-neo / neoblog / packages / client / src / lib / store.js View on Github external
submitting: false,
        disabled: false
      }
    },
    user: {
      name: undefined,
      authentication: {
        key: undefined,
        passPhrase: undefined,
        signInType: undefined
      }
    }
  }),
  api: new Neoblog(host, contract, account),
  ipfsEndpoint: "https://ipfs.io/ipfs/",
  router: new RouterStore()
};

export default store;

mobx-router

A simple router for MobX

ISC
Latest version published 3 years ago

Package Health Score

54 / 100
Full package analysis