Liking cljdoc? Tell your friends :D
ClojureScript only.

views.reagent.client.utils


update-component-state!cljs

(update-component-state! owner f)

Updates the Reagent component's internal state atom by swap!-ing in the value returned by the function f (which receives the current state atom's value).

Updates the Reagent component's internal state atom by swap!-ing in the value
returned by the function f (which receives the current state atom's value).
raw docstring

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

× close