Documentation

website.loader

*code-loads

*installed

<assets>

(<assets> {:keys [css js]})

Inject external assets

<default-missing>

(<default-missing> & args)

<loaded-assets>

(<loaded-assets> page-assets)

The page owns external module assets; direct vectors need no asset wrapper.

<trigger>

(<trigger> & argv__44933__auto__)

An optional earlier section can activate a later module through the same loader.

acquire-code!

(acquire-code! module)

Share parallel CSS/Shadow acquisition, silently retrying once after a delay. Publish readiness only after both assets and the install hook complete.

code-spec

(code-spec module)

Already-loaded code is renderable even while its managed data is pending.

component-vector

(component-vector reference args)

Module boundaries own activation and preserve completed SSR until hydration. Direct component references keep their ordinary native root.

load!

(load! {:keys [module view init-evt pre-fn post-fn args route]})

Return a promise for an initialized module. Concurrent callers share one load. Hooks run per caller; module initialization runs once, including bundled modules.

load-code!

(load-code! options)

Navigation waits for JavaScript and CSS. Initialization/data run independently; managed component bindings own their loading and error views.

ready?

(ready? module)

resolved-view

(resolved-view module view spec)

Canonical public component views keep their actual owner and function identity.

retry-delay-ms