Liking cljdoc? Tell your friends :D

com.fulcrologic.fulcro.rendering.keyframe-render2

Just like keyframe render, but supports :only-refresh option.

Just like keyframe render, but supports `:only-refresh` option.
raw docstring

render!clj/s

(render! app)
(render! app {:keys [force-root? root-props-changed?] :as options})

The top-level call for using this optimized render in your application.

If :force-root? true is passed in options, then it just forces a keyframe root render.

This renderer always does a keyframe render unless an :only-refresh option is passed to the stack (usually as an option on (transact! this [(f)] {:only-refresh [...idents...]}). In that case the renderer will ignore all data diffing and will target refresh only to the on-screen components that have the listed ident(s). This allows you to get component-local state refresh rates on transactions that are responding to events that should really only affect a known set of components (like the input field).

This option does not currently support using query keywords in the refresh set. Only idents.

The top-level call for using this optimized render in your application.

If `:force-root? true` is passed in options, then it just forces a keyframe root render.

This renderer always does a keyframe render *unless* an `:only-refresh` option is passed to the stack
(usually as an option on `(transact! this [(f)] {:only-refresh [...idents...]})`. In that case the renderer
will ignore *all* data diffing and will target refresh only to the on-screen components that have the listed
ident(s). This allows you to get component-local state refresh rates on transactions that are responding to
events that should really only affect a known set of components (like the input field).

This option does *not* currently support using query keywords in the refresh set. Only idents.
sourceraw docstring

render-stale-components!clj/s

(render-stale-components! app options)

This function tracks the state of the app at the time of prior render in the app's runtime-atom. It uses that to do a comparison of old vs. current application state (bounded by the needs of on-screen components). When it finds data that has changed it renders all of the components that depend on that data.

This function tracks the state of the app at the time of prior render in the app's runtime-atom. It
uses that to do a comparison of old vs. current application state (bounded by the needs of on-screen components).
When it finds data that has changed it renders all of the components that depend on that data.
sourceraw docstring

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

× close