Liking cljdoc? Tell your friends :D

fulcro.client.impl.protocols


IIndexercljprotocol

drop-component!clj

(drop-component! this component)

Drop the given UI component from the index

Drop the given UI component from the index

index-component!clj

(index-component! this component)

Add the given active UI component to the index

Add the given active UI component to the index

index-rootclj

(index-root this x)

Index the entire root query

Index the entire root query

indexesclj

(indexes this)

Get the indexes out of the indexer

Get the indexes out of the indexer

key->componentsclj

(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

(ref-for this component)

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

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

IReactComponentcljprotocol

-renderclj

(-render this)

must return a valid ReactDOMElement.

must return a valid ReactDOMElement.

IReactDOMElementcljprotocol

-render-to-stringclj

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

renders a DOM node to string.

renders a DOM node to string.

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)

IReconcilercljprotocol

queue!clj

(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

(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

(get-history this)

Returns the current history atom

Returns the current history atom

send!clj

(send! reconciler)

Send the actual queued network traffic to remotes

Send the actual queued network traffic to remotes

reconcile!clj

(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

(schedule-render! reconciler)

Schedule a render if one is not already scheduled.

Schedule a render if one is not already scheduled.

tick!clj

(tick! this)

Cause the current basis time to advance

Cause the current basis time to advance

schedule-sends!clj

(schedule-sends! reconciler)

Schedule a network interaction.

Schedule a network interaction.

basis-tclj

(basis-t this)

add-root!clj

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

reindex!clj

(reindex! reconciler)

Reindex the active UI

Reindex the active UI

remove-root!clj

(remove-root! reconciler target)

get-idclj

(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.

ITxInterceptcljprotocol

tx-interceptclj

(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.

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

× close