Skip to main content
Module

x/nano_jsx/components/index.ts>Router.parseParamsFromPath

🎯 SSR first, lightweight 1kB JSX library.
Latest
variable Router.parseParamsFromPath
import { Router } from "https://deno.land/x/nano_jsx@v0.1.0/components/index.ts";
const { parseParamsFromPath } = Router;

Pass "this.props.route.path" to it.

type

(path: string) => { [param: string]: string; }