How to use boring-router-react - 1 common examples

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 1 year ago

Package Health Score

52 / 100
Full package analysis

Popular boring-router-react functions