Skip to content

Rest path params

Follow documentation of the path-to-regexp npm package

Example:

ts
import { createRoute } from "mobx-route";

export const serviceRoute = createRoute('/services/:serviceId{/*rest}');

Released under the MIT License.