Fork me on GitHub
#om
<
2018-04-09
>
steveb8n02:04:00

I’m trying out shadow-cljs with om. My simple app fails to add-root! because the reconciler record fails the (implements? p/IReconciler x) check in om.next. has anyone seen anything like this before?

steveb8n02:04:34

I can work around it my calling the underlying p/add-root! fn. I wonder if this is shadow-cljs specific

mfikes02:04:29

@steveb8n Are you also using ClojureScript 1.10.238? If so, then you'd need to build and use current master of Om which addresses the issue.

steveb8n02:04:53

that’s a good question. I don’t have explicit cljs deps in project or shadow-cljs.edn but I am using shadow 2.2.26 so I guess it must have an implicit cljs version. I’ll dig deeper

steveb8n03:04:15

and I’ll try the master om. thanks. I didn’t think of or try that yet

mfikes03:04:25

Oh, there is also a beta3 that has been released.

steveb8n03:04:34

I’ll give the beta3 a try and will report back

steveb8n03:04:29

@mfikes that has worked, although not 100%. no more complaints about the reconciler so that’s a good start. I’ll keep digging

steveb8n08:04:46

FWIW, om-next beta3 and devcards fully works with shadow 2.2.26. thanks again @mfikes