(drop-component! this component)Drop the given UI component from the index
Drop the given UI component from the index
(index-component! this component)Add the given active UI component to the index
Add the given active UI component to the index
(index-root this x)Index the entire root query
Index the entire root query
(indexes this)Get the indexes out of the indexer
Get the indexes out of the indexer
(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-for this component)Get the ident for the given component (UNIMPLEMENTED AT PRESENT)
Get the ident for the given component (UNIMPLEMENTED AT PRESENT)
(-render this)must return a valid ReactDOMElement.
must return a valid ReactDOMElement.
(-render-to-string this react-id sb)renders a DOM node to string.
renders a DOM node to string.
(initLocalState this)(componentWillMount this)(componentDidUpdate this prev-props prev-state)(componentDidCatch this err info)(UNSAFE_componentWillMount this)(getSnapshotBeforeUpdate this pp ps)(UNSAFE_componentWillUpdate this next-props next-state)(componentWillUnmount this)(componentWillReceiveProps this next-props)(shouldComponentUpdate this next-props next-state)(render this)(componentWillUpdate this next-props next-state)(UNSAFE_componentWillReceiveProps this next-props)(componentDidMount this)(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! 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-history this)Returns the current history atom
Returns the current history atom
(send! reconciler)Send the actual queued network traffic to remotes
Send the actual queued network traffic to remotes
(get-network-activity this)Returns an atom containing network activity info.
Returns an atom containing network activity info.
(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! reconciler)Schedule a render if one is not already scheduled.
Schedule a render if one is not already scheduled.
(tick! this)Cause the current basis time to advance
Cause the current basis time to advance
(schedule-sends! reconciler)Schedule a network interaction.
Schedule a network interaction.
(basis-t this)(add-root! reconciler root-class target options)(reindex! reconciler)Reindex the active UI
Reindex the active UI
(remove-root! reconciler target)(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.
(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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |