> That is, have the event control which player it gets applied to. This way the 
> handler does not need any knowledge of this at all and can use path 
> middleware to focus in on only what it cares about (the game board, in the 
> case of selecting a cell).

I think it's better to fetch the player in the handler, as the cell component 
itself doesn't care about whose turn it is.

But maybe your solution is more FRP-ish, I don't know. ;)

-- 
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.

Reply via email to