Liking cljdoc? Tell your friends :D

inertia.core

Public API. Handlers return render or location responses, and wrap-inertia turns them into HTML (first visit) or JSON (Inertia visits).

Public API. Handlers return `render` or `location` responses, and
`wrap-inertia` turns them into HTML (first visit) or JSON (Inertia visits).
raw docstring

inertia.page

Builds the Inertia v3 page object from a Ring request and a set of props. Pure: no I/O beyond calling the prop fns that end up in the response.

Builds the Inertia v3 page object from a Ring request and a set of props.
Pure: no I/O beyond calling the prop fns that end up in the response.
raw docstring

inertia.props

Prop types for Inertia v3 responses.

A prop value is either a plain value, a 0-arity fn (evaluated only when the prop is included in the response), or a Prop built by the constructors below. Constructors compose, so (merge (defer f)) is a deferred prop that the client appends to once it arrives.

Prop types for Inertia v3 responses.

A prop value is either a plain value, a 0-arity fn (evaluated only when the
prop is included in the response), or a `Prop` built by the constructors
below. Constructors compose, so `(merge (defer f))` is a deferred prop that
the client appends to once it arrives.
raw docstring

inertia.ssr

Client for the Inertia SSR server (POST {url}/render). A failed render is never fatal: the caller falls back to client-side rendering.

Client for the Inertia SSR server (`POST {url}/render`). A failed render is
never fatal: the caller falls back to client-side rendering.
raw docstring

inertia.testing

Helpers for testing apps that use inertia-clj, with no extra dependencies.

Helpers for testing apps that use inertia-clj, with no extra dependencies.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close