Bumping to Reagent V0.5.0 is in the roadmap but 0.4.2 works well on its own. We're having this issue when using kioo.
Le mercredi 18 mars 2015 22:22:40 UTC+1, Mike Thompson a écrit : > On Thursday, March 19, 2015 at 3:01:19 AM UTC+11, Arnaud BOS wrote: > > I've posted a new issue on kioo's project but now I'm thinking this might > > be a better fit for here. > > > > Problem: > > After a clear of my .js files and a fresh cljsbuild I'm experiencing a very > > frustrating and new issue I did not have before (TM) with kioo's lifecycle > > function. > > > > I can't explain why, but my components aren't updated anymore IF I > > implement ANY lifecycle method in a defsnippet. > > > > In order to reproduce it and isolating any specificity of my own project > > I've copied the example project in kioo's repository and the behavior is > > the same. > > > > I've created a specific repository, the issue is here : > > https://github.com/arnaudbos/kioo-reagent/blob/master/src/kioo_example/core.cljs#L25 > > > > Commenting the :did-mount key and its value (even when leaving the > > lifecycle function in place) makes the components "not update". > > > > The only difference with the original example is I bumped the dependencies > > and used the lifecycle function: > > > > kioo 0.3.0 -> 0.4.1-SNAPSHOT > > clojure 1.5.1 -> 1.6.0 > > cljsbuild 1.0.1 -> 1.0.4 > > clojurescript 0.0-2138 -> 0.0-2511 > > reagent 0.2.1 -> 0.4.2 > > > > Is it a problem with react ? reagent ? kioo ? me ? > > > > Thanks! > > I've had no experience with kioo, so I can't comment on the specific problem, > but as a general point, I'd be using Reagent v0.5.0. > > -- > Mike -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
