Liking cljdoc? Tell your friends :D
Clojure only.

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

default-urlclj

source

renderclj

(render page-json
        {:keys [url timeout-ms on-error] :or {url default-url timeout-ms 5000}})

POSTs page-json to the SSR endpoint url. Returns {:head html :body html}, or nil when there is nothing to use: after calling on-error with the exception when the render fails, or silently when the Vite dev endpoint answers null while it warms up.

POSTs `page-json` to the SSR endpoint `url`. Returns {:head html :body html},
or nil when there is nothing to use: after calling `on-error` with the
exception when the render fails, or silently when the Vite dev endpoint
answers `null` while it warms up.
sourceraw 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