Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.33 KB

File metadata and controls

36 lines (22 loc) · 1.33 KB

logo

mobx-route

NPM version build status npm download bundle size

🚀 Simple and lightweight typed MobX router 🚀
Uses path-to-regexp power

import { createRoute } from "mobx-route";

const userDetails = createRoute("/users/:id");

await userDetails.open({ id: 1 }); // path params are required

userDetails.isOpened; // true;

Contribution Guide

Want to contribute ? Follow this guide