Liking cljdoc? Tell your friends :D

com.fulcrologic.fulcro.algorithms.indexing

Functions that implement the query and component indexing.

Functions that implement the query and component indexing.
raw docstring

drop-component!clj/s

(drop-component! this)
(drop-component! this ident)

Remove the component instance from the indexes. If ident is supplied it uses that, otherwise it gets the ident from the component itself.

Remove the component instance from the indexes. If ident is supplied it uses that, otherwise it gets the
ident from the component itself.
sourceraw docstring

index-component!clj/s

(index-component! this)

Add a component instance to the app index. This adds the component to the class->components and ident->components indexes.

Add a component instance to the app index. This adds the component to the `class->components` and
`ident->components` indexes.
sourceraw docstring

index-queryclj/s

(index-query query)

Create an index of the given component-annotated query. Returns a map from query keyword to the component class(es) that query for that keyword.

Create an index of the given component-annotated query. Returns a map from query keyword to the component
class(es) that query for that keyword.
sourceraw docstring

index-root!clj/s

(index-root! app)

Index the root query (see index-query) and side-effect the result (prop->classes) into the given app. This function assumes the root-class has already been supplied to the app (i.e. is has been mounted).

Index the root query (see index-query) and side-effect the result (`prop->classes`) into the given app.
This function assumes the `root-class` has already been supplied to the app (i.e. is has been mounted).
sourceraw docstring

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

× close