Liking cljdoc? Tell your friends :D

austinbirch.reactive-entity


cache-reactive-pair!cljs

(cache-reactive-pair! eid attr reactive-pair)
source

clear-cache!cljs

(clear-cache!)
source

current-statecljs

(current-state entity)

Used for debugging only, non-reactive. Returns a map of the existing state of the reactive entity - kind of like what you would get if you called d/touch on a DataScript entity.

Useful for logging out the state of a reactive entity during a render pass, without having to subscribe to all changes on the entity.

Used for debugging only, non-reactive. Returns a map of the
existing state of the reactive entity - kind of like what you
would get if you called d/touch on a DataScript entity.

Useful for logging out the state of a reactive entity during
a render pass, without having to subscribe to all changes on
the entity.
sourceraw docstring

entitycljs

(entity eid)
source

equiv-entitycljs

(equiv-entity this that)
source

exists?cljs

(exists? this)
source

find-cache-keys-needing-re-readcljs

(find-cache-keys-needing-re-read {:keys [subs tx-report]})
source

init!cljs

(init! conn)
source

initial-statecljs

source

listen!cljs

(listen! db-conn)
source

lookupcljs

(lookup e attr)
source

lookup-ref?cljs

(lookup-ref? eid)

Returns true if this eid looks like a lookup-ref (e.g. [:entity/id 123])

#TODO: can check a lot more about lookup-refs here

Returns true if this eid looks like a lookup-ref (e.g. [:entity/id 123])

#TODO: can check a lot more about lookup-refs here
sourceraw docstring

make-matcherscljs

(make-matchers {:keys [subs db-before db-after]})
source

process-tx-reportcljs

(process-tx-report tx-report)
source

reactive-entity-lookupcljs

(reactive-entity-lookup this attr not-found)
source

reactive-lookupcljs

(reactive-lookup db e attr)
source

ReactiveEntitycljs

source

statecljs

source

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

× close