mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 00:11:11 +00:00
502 B
502 B
Frontend basics
reitit.frontend provides few useful functions wrapping core functions:
match-by-pathversion which parses a URI using JavaScript, including query-string, and also coerces the parameters.routerwhich compiles coercers by defaultmatch-by-nameandmatch-by-name!with optionalpath-paramersand logging errors toconsole.warninstead of throwing errors (to prevent React breaking due to errors).