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.
sourceraw 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.
sourceraw 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.
sourceraw 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.
sourceraw docstring

jspcljs

(jsp x)

Shorter name for js-proxy.

Shorter name for js-proxy.
sourceraw docstring

kw-cachecljs

source

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.
sourceraw docstring

map-proxy-getcljs

(map-proxy-get t k)
source

map-proxy-hascljs

(map-proxy-has t k)
source

map-proxy-own-keyscljs

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

map-proxy-property-descriptorcljs

(map-proxy-property-descriptor t k)
source

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

× close