Liking cljdoc? Tell your friends :D
ClojureScript only.

reacl-c-basics.routing


gotocljs

(goto path)

Returns an action to go to the given path.

Returns an action to go to the given path.
sourceraw docstring

hrefcljs

(href route & params)

Return an url string for the given route, with arguments for the positional and maybe a map for query params as required by the given route.

Return an url string for the given route, with arguments for the
positional and maybe a map for query params as required by the given
route.
sourceraw docstring

html5-history-routercljs

(html5-history-router pages)

An element that renders to one of the pages from the given map of routes to pages, depending on the current browser location, which is monitored for changes. It also handles goto actions emitted from within, modifying the browser history accordingly.

An element that renders to one of the pages from the given map of
routes to pages, depending on the current browser location, which is
monitored for changes. It also handles [[goto]] actions emitted from
within, modifying the browser history accordingly.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close