Reitit frontend integration is built from multiple layers:
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.
Coerced parameters are stored in match :parameters property. If coercion
is not enabled, the original parameters are stored in the same property,
to allow the same code to read parameters regardless if coercion is
enabled.
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.
Can you improve this documentation? These fine people already did:
Juho Teperi & Tommi ReimanEdit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |