Open mpal9000 opened 9 years ago
I can now understand that cryptic comment and I agree that observ-array
should be removed or fixed. I hope it will be fixed, because it's not nice to use observ-varhash
for arrays.
I had an array of observables and was trying to render them. The render function was using an ev-click: hg.sendClick(state.channes.onClick)
property and I was also using "./time-travel.js". Without time-travel it was working as it should, but after an undo the click handlers was triggered, but the state updates did not reflect to the UI.
This describes the problem better: https://github.com/mpal9000/mercury-example-1 (see comments inside ./index.js)
https://github.com/Raynos/mercury/blob/master/index.js#L46 Hello is the above comment correct?