Liking cljdoc? Tell your friends :D

fulcro.client.impl.protocols


IIndexerclj/s≠protocol

drop-component!clj/s

(drop-component! this component)

Drop the given UI component from the index

Drop the given UI component from the index

index-component!clj/s

(index-component! this component)

Add the given active UI component to the index

Add the given active UI component to the index

index-rootclj/s

(index-root this x)

Index the entire root query

Index the entire root query

indexesclj/s

(indexes this)

Get the indexes out of the indexer

Get the indexes out of the indexer

key->componentsclj/s

(key->components this k)

Find all components that query for the given keyword or ident.

Find all components that query for the given keyword or ident.

ref-forclj/s

(ref-for this component)

Get the ident for the given component (UNIMPLEMENTED AT PRESENT)

Get the ident for the given component (UNIMPLEMENTED AT PRESENT)
source

IReactComponentcljprotocol

-renderclj

(-render this)

must return a valid ReactDOMElement.

must return a valid ReactDOMElement.
source

IReactDOMElementcljprotocol

-render-to-stringclj

(-render-to-string this react-id sb)

renders a DOM node to string.

renders a DOM node to string.
source

IReactLifecyclecljprotocol

initLocalStateclj

(initLocalState this)

componentWillMountclj

(componentWillMount this)

componentDidUpdateclj

(componentDidUpdate this prev-props prev-state)

componentDidCatchclj

(componentDidCatch this err info)

UNSAFE_componentWillMountclj

(UNSAFE_componentWillMount this)

getSnapshotBeforeUpdateclj

(getSnapshotBeforeUpdate this pp ps)

UNSAFE_componentWillUpdateclj

(UNSAFE_componentWillUpdate this next-props next-state)

componentWillUnmountclj

(componentWillUnmount this)

componentWillReceivePropsclj

(componentWillReceiveProps this next-props)

shouldComponentUpdateclj

(shouldComponentUpdate this next-props next-state)

renderclj

(render this)

componentWillUpdateclj

(componentWillUpdate this next-props next-state)

UNSAFE_componentWillReceivePropsclj

(UNSAFE_componentWillReceiveProps this next-props)

componentDidMountclj

(componentDidMount this)
source

IReconcilerclj/s≠protocol

queue!clj/s

(queue! reconciler ks)
(queue! reconciler ks remote)

Add the given ks to the given remote queue of things to be re-rendered. If remote is nil, add to the local UI queue

Add the given ks to the given remote queue of things to be re-rendered. If remote is nil, add to the local UI queue

queue-sends!clj/s

(queue-sends! reconciler sends)

Add the given map of remote->query sends to the queue of things to be sent

Add the given map of remote->query sends to the queue of things to be sent

get-historyclj/s

(get-history this)

Returns the current history atom

Returns the current history atom

send!clj/s

(send! reconciler)

Send the actual queued network traffic to remotes

Send the actual queued network traffic to remotes

reconcile!clj/s

(reconcile! reconciler)
(reconcile! reconciler remote)

Bring the UI up-to-date with respect to data changes in the given queue. If remote is nil, use local UI queue.

Bring the UI up-to-date with respect to data changes in the given queue. If remote is nil, use local UI queue.

schedule-render!clj/s

(schedule-render! reconciler)

Schedule a render if one is not already scheduled.

Schedule a render if one is not already scheduled.

tick!clj/s

(tick! this)

Cause the current basis time to advance

Cause the current basis time to advance

schedule-sends!clj/s

(schedule-sends! reconciler)

Schedule a network interaction.

Schedule a network interaction.

basis-tclj/s

(basis-t this)

add-root!clj/s

(add-root! reconciler root-class target options)

reindex!clj/s

(reindex! reconciler)

Reindex the active UI

Reindex the active UI

remove-root!clj/s

(remove-root! reconciler target)

get-idclj/s

(get-id this)

Get the unique ID of this reconciler. Used to resolve multiple running apps on a page. Defaults to the root class and a UUID.

Get the unique ID of this reconciler. Used to resolve multiple running apps on a page. Defaults to the root class and a UUID.
source

ITxInterceptclj/s≠protocol

tx-interceptclj/s

(tx-intercept c tx)

An optional protocol that component may implement to intercept child transactions.

An optional protocol that component may implement to intercept child
transactions.
source

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

× close