Liking cljdoc? Tell your friends :D
ClojureScript only.

reacl-c-basics.pages.router


gotocljs

(goto path)

Returns an action to be handled by a history-router up in the hierarchy, instructing it to show the page registered for the given path (and query string).

Returns an action to be handled by a [[history-router]] up in the
hierarchy, instructing it to show the page registered for the given
`path` (and query string).
sourceraw docstring

history-routercljs

(history-router history pages)

Returns an item class that dispatches rendering based on the given map of routes to pages, where the current route and route changes are managed by the given implementation of the [[reacl-c-basics.pages.history/History]] protocol.

Returns an item class that dispatches rendering based on the
given map of routes to pages, where the current route and route
changes are managed by the given implementation of
the [[reacl-c-basics.pages.history/History]] protocol.
sourceraw docstring

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

× close