Hacker News new | past | comments | ask | show | jobs | submit login

A possible issue is setState doesn't transition the object's state, it creates an async future/pending state transition (and multiple state transitions can be batched). Object.observe can only operate reactively, the state has already changed and the next dereferencing of state data will see the "next state" instead of the "current state".



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: