How to use the boring-router-react.BrowserHistory function in boring-router-react

To help you get started, we’ve selected a few boring-router-react 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 makeflow / remote-workspace / src / client / @routes.ts View on Github external
},
  },
  list: {
    $query: {
      search: true,
    },
  },
});

export type WorkspaceRoute = RootRouteMatchType<
  typeof workspaceRouteSchema,
  undefined,
  string
>;

const history = new BrowserHistory();
const router = new BoringRouter(history);

export const route = router.$route(workspaceRouteSchema);

boring-router-react

A type-safe MobX router with parallel routing support.

MIT
Latest version published 6 months ago

Package Health Score

63 / 100
Full package analysis

Popular boring-router-react functions

Similar packages