Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// @flow
import { Router } from "webiny-react-router";
export const router = new Router();
export { default as Link } from "./Link";
export {
RouterComponent as Router,
renderMiddleware,
resolveMiddleware
} from "webiny-react-router";
constructor() {
this.configurators = [];
this.modules = new ModuleLoader();
this.services = new ServiceManager();
this.router = new Router();
this.security = new Security();
this.graphql = new GraphQLClient();
this.initialized = false;
this.configLoader = () => Promise.resolve({});
registerDefaultModules(this);
}