reitit/doc/frontend/basics.md
2018-08-23 10:41:13 +03:00

511 B

Frontend basics

WIP

reitit.frontend provides few useful functions wrapping core functions:

  • match-by-path version which parses a URI using JavaScript, including query-string, and also coerces the parameters.
  • router which compiles coercers by default
  • match-by-name and match-by-name! with optional path-paramers and logging errors to console.warn instead of throwing errors (to prevent React breaking due to errors).