Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

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

type

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