omniscientjs / immstruct

Immutable data structures with history for top-to-bottom properties in component based libraries like React. Based on Immutable.js
374 stars 21 forks source link

forceHasSwapped() doesn't trigger possiblyEmitAnimationFrameEvent() #26

Closed dashed closed 9 years ago

dashed commented 9 years ago

https://github.com/omniscientjs/immstruct/blob/4e32335137e9db3c64c056f080ce1e917268c73b/src/structure.js#L78-L80

swap event is only emitted, but not next-animation-frame.

Probably need to clean up semantics for this.