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.(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.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |