Closed petterik closed 8 years ago
I have this problem too, but I wasn't able to figure out what's causing it. My component that causes it also doesn't implement om/IQuery
, and it's on a tree where most of its parents do.
om.next/reconcile!
does not throw Index out of bounds
anymore. Verified on master that has commit 39f68233aab0ef5f38f8e220afed1e7f89190645
Updating om from alpha37 to alpha44, I'm getting
Uncaught Error: Index out of bounds
incljs.core/subvec
used fromom.next/reconcile!
: https://github.com/omcljs/om/blob/master/src/main/om/next.cljs#L1832After doing some printing, I found that
(let [update-path (path c)]
on line 1829, setsupdate-path
asnil
.Facts about the component
c
: It does not implementom/IQuery
. I'm passing its factory(om/computed {} {..stuff..})
. It has local state and updates it withom/update-state!
Will start working on a repro.