Liking cljdoc? Tell your friends :D

com.wsscode.js-interop.js-proxy

JS proxy provides an alternative way to use Clojurescript immutable data structures with a JSON interface. This can be used as an alternative to clj->js, check the documentation for details about the tradeoffs.

JS proxy provides an alternative way to use Clojurescript immutable data structures
with a JSON interface. This can be used as an alternative to clj->js, check the
documentation for details about the tradeoffs.
raw docstring

array-pushcljs

(array-push res)
(array-push res x)

Wrapping on JS .push, arity design for compatibility with transducer usage.

Wrapping on JS .push, arity design for compatibility with transducer usage.
raw docstring

cached-keywordcljs

(cached-keyword s)

Like keyword, but will cache the string for faster lookup after first usage.

Using the cache read gets about 4x faster than converting. Considering that the keywords in an application tend to be consistent, this I think this cache will get hit enough to worth the memory cost.

Like keyword, but will cache the string for faster lookup after first usage.

Using the cache read gets about 4x faster than converting. Considering that the
keywords in an application tend to be consistent, this I think this cache will get hit
enough to worth the memory cost.
raw docstring

into-js-arraycljs

(into-js-array xform from)

Its the into-array fn with add support for transducers.

Its the into-array fn with add support for transducers.
raw docstring

js-proxycljs

(js-proxy x)

Proxy some Map Type from Clojurescript via JSON proxy API.

Proxy some Map Type from Clojurescript via JSON proxy API.
raw docstring

jspcljs

(jsp x)

Shorter name for js-proxy.

Shorter name for js-proxy.
raw docstring

kw-cachecljs


map-proxycljs

(map-proxy m)

Creates a JS proxy to wrap a Clojurescript immutable map like data type.

Creates a JS proxy to wrap a Clojurescript immutable map like data type.
raw docstring

map-proxy-getcljs

(map-proxy-get t k)

map-proxy-hascljs

(map-proxy-has t k)

map-proxy-own-keyscljs

(map-proxy-own-keys t _ internal-cache)

map-proxy-property-descriptorcljs

(map-proxy-property-descriptor t k)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close