untangled

NEW CHANNEL: #fulcro
currentoor 2016-10-21T00:50:07.002799Z

@tony.kay I'm looking through untangled-components right now and this is really nice! Thanks for sharing.

currentoor 2016-10-21T00:50:37.002800Z

But I was wondering any plans/desires to make these components cljc compatible so they can be rendered on the server?

currentoor 2016-10-21T00:51:42.002801Z

Having super fast initial load times would be really nice.

grant 2016-10-21T05:12:36.002805Z

Has anyone else tried to update to ClojureScript "1.9.293" on a untangled-template project? I get clojure.lang.ExceptionInfo: failed compiling file:resources/public/js/compiled/dev/untangled/client/data_fetch.cljs.

anmonteiro 2016-10-21T07:49:04.002808Z

@grant: Om Next needs to be bumped to alpha47 to work with 1.9.293

anmonteiro 2016-10-21T07:49:36.002809Z

I'd first check if that works

ianchow 2016-10-21T11:25:25.002812Z

wrt untangled-websocket, how do I get a tree of data that is pushed to the client to be automatically normalized? It doesn’t go through the usual untangled load-data that accepts a query. In the cookbook example, the pushed data is manually inserted into app state via functions. Do I have to dig into om.next’s merge and db<->tree?

grant 2016-10-21T15:24:34.002815Z

@anmonteiro Thanks. As long as I know it should work I'll keep messing with it. I have tried explicitly requiring [org.omcljs/om "1.0.0-alpha47"] to override untangled's default there. I also tried bumping several other libraries. If you have it working without issue with ClojureScript 1.9.293, then it's something in my setup somewhere, will just have to find it.

tony.kay 2016-10-21T15:34:06.002816Z

@currentoor Yes, but low priority

tony.kay 2016-10-21T15:34:20.002817Z

@ianchow look at merge-state! in core. It allows you to supply a query for normalization, and was made just for that purpose. Has nice ident integration stuff too

👍 1
wilkerlucio 2016-10-21T16:35:39.002819Z

hello, I'm trying to update here as well and I can't compile with Untangled anymore, using cljs 1.9.293, om alpha-47 and untangled-client 0.5.7

tony.kay 2016-10-21T20:36:17.002824Z

hey sorry

tony.kay 2016-10-21T20:36:22.002825Z

so what’s up @wilkerlucio

tony.kay 2016-10-21T20:36:42.002826Z

oh, latest cljs not working?

tony.kay 2016-10-21T20:36:53.002827Z

what’s new in it?

wilkerlucio 2016-10-21T21:10:22.002828Z

@tony.kay I'm not sure the issue yet, I just got back on my computer now, I did some discussion with @anmonteiro at #om channel about it, maybe something related to transit, not sure yet

wilkerlucio 2016-10-21T21:10:56.002829Z

https://clojurians.slack.com/archives/om/p1477068300004536

tony.kay 2016-10-21T21:14:55.002831Z

I see. So probably an Om thing, not Untangled

2016-10-21T21:19:42.002832Z

@wilkerlucio I’m running om-47 and untangled client 0.5.7 and not having any problems, but we’re on cljs 1.8

wilkerlucio 2016-10-21T21:20:14.002833Z

the problem seems related to the new version of ClojureScript, the 1.9.293

wilkerlucio 2016-10-21T21:20:36.002834Z

reverting to 1.9.229 works fine