untangled 2017-02-02

@jwkoelewijn has joined the channel

Should a data-fetch/load by ident queue up a re-render for that ident?

Very noobish question! Why do I get a java.io.FileNotFoundException when I require untangled.client.mutations in a cljc file? It works fine in cljs files... 😞

@doddenino seems to be a .cljs file

you need to put it under a reader conditional #?(:cljs (:require [untangled.client.mutations]))

@anmonteiro i think it's in a cljc file

Can't check now though

@gardnervickers Good question. That would seem reasonable, esp after the fetch completes

could probably just auto-add that to the refresh when calculating the load parameters in load-params* in u.c.data-fetch namespace

Try manually adding the ident to :refresh on the load. If that works, then put in a PR or an issue saying what I just said 🙂

@doddenino what version of UC? The conversion to cljc was recent, and we may not have it perfect. Also, could be a tooling issue. Make sure you're on the latest cljs, figwheel, and cljsbuild.

@tony.kay 0.6.0 . I should also have cljs latest version. I'm not sure about figwheel, I'll check tomorrow morning

Yeah, could be something edge-case. Like perhaps there is no cljs in that cljc file, and the compiler is failing to recognize it (e.g. bug?)

I have 0 experience with cljc, so there's a big chance that it's just me messing something up 😅