Liking cljdoc? Tell your friends :D

tggreene.inertia-cljs


->js-shallowcljs

(->js-shallow x)
source

create-inertia-appcljs

(create-inertia-app {:keys [resolve-fn title-fn setup-fn]})

Thin wrapper around createInertiaApp

Thin wrapper around createInertiaApp
sourceraw docstring

set-layout!cljs

(set-layout! page-component layout-component)
(set-layout! page-component layout-component layout-props)
source

simple-inertia-appcljs

(simple-inertia-app {:keys [page-fn title-fn layout-component layout-props
                            root-component root-props react-root-renderer]})

Simple wrapper around createInertiaApp with sensible defaults only page-fn and react-root-renderer are required.

Simple wrapper around createInertiaApp with sensible defaults only page-fn
and react-root-renderer are required.
sourceraw docstring

simple-resolve-fncljs

(simple-resolve-fn {:keys [page-fn layout-component layout-props]})

Simple resolve implementation that takes a page-fn and returns a resolve-fn for inertia

Simple resolve implementation that takes a page-fn and returns a resolve-fn
for inertia
sourceraw docstring

simple-setup-fncljs

(simple-setup-fn {:keys [react-root-renderer root-component root-props]})
source

use-formcljs

(use-form initialData)
source

use-pagecljs

(use-page)
source

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

× close