untangled

NEW CHANNEL: #fulcro
tony.kay 2017-01-19T00:56:17.002272Z

@therabidbanana so did you guys end up doing some of your data as "blobs" instead of as components with queries to avoid db->tree overhead?

2017-01-19T00:57:01.002274Z

Not specifically for that reason, but yeah, a lot of our deeply nested data is blob-like

2017-01-19T00:57:35.002275Z

(It gets passed to C3 charts, so there's a bit of a wrapper component, but mostly the data is internal concern of C3)

tony.kay 2017-01-19T00:57:51.002276Z

I'm working with one of our teams, and I'm seeing 5s+ frame times due to overhead in db->tree and path-meta

tony.kay 2017-01-19T00:58:34.002277Z

the detail/denormalization just kills it, and path-meta goes to hell

tony.kay 2017-01-19T00:59:13.002278Z

I was surprised that it was that easy to "tip" into bad performance. I'd have thought we had a lot more headroom on that

2017-01-19T00:59:38.002279Z

Yeah, I recall trying to dig into some performance issues and seeing that db->tree can get pretty expensive

tony.kay 2017-01-19T01:00:31.002280Z

I wonder if this is a case where some hidden mutation in place as an optimization is justified

2017-01-19T01:02:06.002283Z

Potentially

tony.kay 2017-01-19T01:02:10.002284Z

well, first step is to fix the queries to not put so much in front of it in the first place

mitchelkuijpers 2017-01-19T08:18:03.002289Z

@tony.kay I would not be afraid of the change that root mutations don't do a root rerender anymore. We fought that quite a few times. But I thought this was on purpose 😛

tony.kay 2017-01-19T12:28:56.002290Z

Not root mutations...post mutations after a load.

tony.kay 2017-01-19T12:29:53.002291Z

A mutation run from root will render root

mitchelkuijpers 2017-01-19T13:12:21.002296Z

Sorry I meant post-mutations

mitchelkuijpers 2017-01-19T13:12:30.002297Z

brainderp

tony.kay 2017-01-19T16:48:37.002298Z

just pushed 0.6.1-snAPSHOT of client. Has the performance enhancement I spoke of yesterday

tony.kay 2017-01-19T16:49:02.002299Z

note that you may need to add :refresh to your loads if your rendering stop updating afer loads...I removed a forced root render after post mutations

claudiu 2017-01-19T21:07:04.002304Z

Hi, I'm new to clojurescript & om. Would you recommend I get started with untangled (after going through om.next docs) or should I focus on setting up my project with om.next ?

claudiu 2017-01-19T21:13:09.002305Z

The documentation for untangled seems to be amazing. (Nicer then what I could find for om.next)

2017-01-19T21:19:35.002306Z

I would start with untangled first, personally. We did our current Untangled app first in raw Om.next as a prototype (before we heard about Untangled), and Untangled solved a lot of the problems we struggled with building that prototype out-of-the-box