Oh, no. Even if that's possible, it's not allowed to do in Respo since it's
already optimized with some mechanism like `shouldComponentUpdate` to
reduce renderings. It's an anti-pattern.
On Sat, Oct 1, 2016 at 5:35 AM Dustin Getz wrote:
>
> cljs.user=> (ns foo.core
cljs.user=> (ns foo.core (:require [reagent.core :as reagent]))
nil
foo.core=> (def ^:dynamic *foo* 42)
#'foo.core/*foo*
foo.core=> (defn inner [] [:div *foo*])
#'foo.core/inner
foo.core=> (defn root1 [] (binding [*foo* (inc *foo*)] [inner]))
#'foo.core/root1
foo.core=> (defn root2 [] (binding
Does Respo work with dynamic bindings in render functions? My biggest
complaint with React and derivatives are broken dynamic scope.
On Thu, Sep 29, 2016 at 4:47 AM, Jiyin Yiyong wrote:
> http://respo.site
>
> Respo is a front-end MVC library in ClojureScript. It's like
http://respo.site
Respo is a front-end MVC library in ClojureScript. It's like Reagent but built
totally in ClojureScript, so it's purer and more friendly to hot code swapping.
The shortcomings is it has quite less features comparing to React.js , for
example side effects.
This is the first