Code: https://www.refheap.com/90401
Problem: the go loop in the child component (line 23) that reads messages from
a channel doesn't continue after I press that button that changes state in the
parent component.
If I uncomment that state change in the button event handler it all works ok.
What
Thanks Gijs,
This really explains a lot.
On Thu, Sep 18, 2014 at 10:48 PM, Gijs S. wrote:
> With line 41 uncommented the following seems to happen:
>
> 1. Parent component's state changed
> 2. om/react "walks" the component tree in parent's render to see what should
> update
> 3. on line 45 wit
What I would like to see is something like :shared but only shared within a
subtree, so for example:
(defn child [app owner]
(om/component
(dom/p nil (str "Yo, I've got"
(om/get-shared owner :some)
:state
(defn parent [app owner]
Here I've got a straightforward working "nested wizard" example in Reagent:
https://gist.github.com/borkdude/cfd9e40edf7e545a8620
The structure of the example is as follows:
Wizard instance 1
Foo Panel , Bar Panel
Foo Panel
Button
Bar Panel
[Bar Modal]
Button , Button
Bar Modal
Wiz
> 1. How to enable/disable Steps (and prev/next buttons) depending on
> validation results of the form in a current step? Particularly, I'm trying to
> understand if it's possible to bind a validation function to step enablement
> property
A possible approach: keep the "valid-state" of each com
Of course the wizard-state map should be wrapped in an atom. And :callback can
just be foo-valid? if called with no arguments. Maybe :validator is a better
name, because it's not really a callback.
On Sunday, October 5, 2014 2:37:52 PM UTC+2, Michiel Borkent wrote:
> > 1. How to ena
For newcomers to cljs I think it's very important to have out of the box
working examples in clojurescript.
I tried the twitterbuzz application, but it's fundamentally broken because of
the 1.1 API version of Twitter and its oauth demands.
I tried ClojureScript One but it requires leiningen 1.
> On Thu, Oct 23, 2014 at 12:01 PM, Michiel Borkent
> wrote:
> For newcomers to cljs I think it's very important to have out of the box
> working examples in clojurescript.
>
>
>
> I tried the twitterbuzz application, but it's fundamentally broken because
aedler/goya.
>
>
>
>
> On 24 October 2014 00:05, Michiel Borkent wrote:
> Thanks Alexander,
>
>
>
> I think this fits the bill!
>
>
>
> On Thursday, October 23, 2014 12:02:06 PM UTC+2, Alexander Solovyov wrote:
>
> > I think my own sma
I have started the list here on github:
https://github.com/borkdude/simple-cljs-examples/blob/master/README.md
Feel free to send me a pull request.
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscri
ct 24, 2014 at 5:08 AM, Logan Campbell wrote:
> Snake: https://github.com/logaan/snake
> Nonaga: https://github.com/logaan/nonaga
>
> Nonaga is a turn based two player tabletop game.
>
> On Thursday, 23 October 2014 20:01:49 UTC+11, Michiel Borkent wrote:
>> For newcom
Hello,
I was wondering about the state of clojure.browser.{dom, ...}. Is this what
people use from day to day when not working on a React based site? What else,
dommy, crate, etc.?
There seems to be a lot of logging inside
https://github.com/clojure/clojurescript/blob/master/src/cljs/clojure/b
I just asked this in #clojurescript, but it might be interesting to discuss
here.
How come the Reagent Todo MVC example doesn't feel as snappy as the Om version,
or the vanilla JS version for that matter. Om feels closer to the vanilla
implementation.
Compare these two
http://holmsand.github.
A lot better now.
On Tue, Nov 11, 2014 at 4:32 PM, Robin Heggelund Hansen
wrote:
> kl. 16:32:08 UTC+1 tirsdag 11. november 2014 skrev Robin Heggelund Hansen
> følgende:
>> kl. 13:48:59 UTC+1 mandag 27. oktober 2014 skrev Michiel Borkent følgende:
>> > I just asked this in #
cts or give any other
helpful tips.
Thanks,
Michiel Borkent
--
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
Hello all,
In my project I want to use Closure modules.
I have defined this in my project.clj:
:modules {:source-paths ["src-cljs" "src-cljs-prod"]
:compiler
{:optimizations :advanced
:modules
{:cljs-base
:entries #{"recipes.main"}
I have defined one module that represent React and Reagent called :reagent. All
pages that depend on Reagent can then define their own module that :depends-on
the :reagent module.
cljs.js is now 235 kb,
reagent.js is 133 kb,
new-recipe-form.js
I have run into an issue in advanced mode when accessing a map with a keyword
that contains an underscore:
https://gist.github.com/borkdude/be911f120c1676108644
I'm not sure if that is also fixed by CLJS-1105?
On Friday, March 13, 2015 at 1:40:33 AM UTC+1, Mike Fikes wrote:
> Perhaps the same:
I have done some further testing and I think this was the same issue.
PS: the data used was not an EDN literal, but was dynamically created.
On Friday, March 13, 2015 at 11:01:40 AM UTC+1, Michiel Borkent wrote:
> I have run into an issue in advanced mode when accessing a map with a keyw
19 matches
Mail list logo