Liking cljdoc? Tell your friends :D

co.multiply.tropical.names

What the browser sees of the app's own names: an island's element id, the signal of a cookie or storage state, a script's URL.

By default each is an opaque digest of the app's name for it, so the page tells nothing of how the app is laid out: its namespaces, its functions, its states. The server keeps the names as written, in its logs, its REPL and the errors it throws. A digest is deterministic, so every server gives a name the same one: a tab reconnecting into another server is patched in place, and what the browser keeps under a state's name, in its cookie or storage, is found again after a deploy.

With the JVM property co.multiply.tropical.readable-names set to true, read once as this namespace loads, the browser sees the names as written, for reading them while debugging. A state's names change with it, so what the browser kept under the other ones reads as the default. Every server of an app runs one way.

A name is the app's own only in its code: what reaches the page goes through co.multiply.tropical.ui (signal, path) and the like. CSS, a script or an expression that names an island's element or a state's signal by hand would hold only while names are readable.

What the browser sees of the app's own names: an island's element id, the
signal of a cookie or storage state, a script's URL.

By default each is an opaque digest of the app's name for it, so the page
tells nothing of how the app is laid out: its namespaces, its functions, its
states. The server keeps the names as written, in its logs, its REPL and the
errors it throws. A digest is deterministic, so every server gives a name
the same one: a tab reconnecting into another server is patched in place,
and what the browser keeps under a state's name, in its cookie or storage,
is found again after a deploy.

With the JVM property `co.multiply.tropical.readable-names` set to `true`,
read once as this namespace loads, the browser sees the names as written,
for reading them while debugging. A state's names change with it, so what
the browser kept under the other ones reads as the default. Every server of
an app runs one way.

A name is the app's own only in its code: what reaches the page goes
through `co.multiply.tropical.ui` (`signal`, `path`) and the like. CSS, a
script or an expression that names an island's element or a state's signal
by hand would hold only while names are readable.
raw docstring

No vars found in this namespace.

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