om

Please ask the channel first, not @dnolen directly!
steveb8n 2018-04-09T02:06:00.000210Z

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?

steveb8n 2018-04-09T02:06:34.000222Z

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

mfikes 2018-04-09T02:57:29.000224Z

@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.

steveb8n 2018-04-09T02:59:53.000166Z

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

steveb8n 2018-04-09T03:00:15.000025Z

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

mfikes 2018-04-09T03:00:25.000134Z

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

steveb8n 2018-04-09T03:02:14.000139Z

ah yes I can see that version here https://github.com/thheller/shadow-cljs/blob/master/project.clj

steveb8n 2018-04-09T03:02:34.000008Z

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

steveb8n 2018-04-09T03:23:29.000139Z

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

steveb8n 2018-04-09T08:01:46.000321Z

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