Browse thread
React switch with newly created events.
-
Guillaume Yziquel
-
Daniel_Bünzli
- Guillaume Yziquel
-
Daniel_Bünzli
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2009-12-23 (13:54) |
From: | Guillaume Yziquel <guillaume.yziquel@c...> |
Subject: | Re: React switch with newly created events. |
Daniel Bünzli a écrit : >> However, it may happen (and it does happen) that as soon as this new >> React.event is created, an event is fired before the React.E.switch has been >> executed to replace the old event by the new event. > > You are creating a new update cycle inside another update cycle and > this is disallowed. No primitives are allowed to update in an update > cycle (to be precise unless the primitive does not belong to the > dependency graph of the update cycle). No, this is not the case. There's only one update cycle. I was confused and sked the question too quickly. It works perfectly... -- Guillaume Yziquel http://yziquel.homelinux.org/