om

Please ask the channel first, not @dnolen directly!
anmonteiro 2017-05-30T00:23:23.154665Z

certainly looks related to untangled

anmonteiro 2017-05-30T00:23:32.155354Z

there’s nothing stopping you from doing what I said in Om Next

matthavener 2017-05-30T01:05:37.375041Z

@pedroteixeira if you don't care about server side rendering, sablano works fine with om.next

👍 1
2017-05-30T01:07:09.383647Z

if you use any JS components won't you also need to do node.js based server side rendering anyway ?

2017-05-30T01:08:52.393495Z

does something like this exist for clojure? https://github.com/markfinger/python-react

2017-05-30T01:09:19.395986Z

it just proxies to node "Render servers are typically Node.js processes which sit alongside the python process and respond to network requests."

peeja 2017-05-30T16:32:29.481406Z

Does extfs get a chance to customize indexing for :prop->classes?

peeja 2017-05-30T16:33:03.493708Z

That appears top be embedded in index-root and not accessible

peeja 2017-05-30T16:33:23.500885Z

(I suppose I could just do it during :index-component anyhow…)

2017-05-30T18:31:43.121521Z

Related: Are there any docs anywhere on how the indexer works? What is extfs and what does it stand for?

👆 1
2017-05-30T19:06:31.890642Z

Possibly a bug (or the lack of a feature): if I have a query like [{:blah/thing [:blah/id]} {:other/stuff {:blah/thing [*]}}] where the second :blah/thing is handled by recursively calling the parser from :other/stuff and assoc’ing :query-root true, such that both :blah/things are the same remote query, only one of the locations of :blah/thing in the client-side app-state is updated. Is this expected? Any advice on how to get both locations of :blah/thing in my client-side state to receive the update (preferably w/o overriding merge, bc SoC). E.g., I’d expect my clientside state to look something like {:blah/thing { … } :other/stuff {:blah/thing { …}}}, possibly normalized (but I think that’s outside the scope of the problem I’m having.

2017-05-30T19:08:14.926556Z

I’d also like providing a read key after a mutation for :blah/thing to update both components using :blah/thing (at their respective paths)

gardnervickers 2017-05-30T19:27:03.310240Z

@solussd If you’re trying to get state updates to show up in multiple places in your app state, you would want to use normalization.

gardnervickers 2017-05-30T19:27:50.326581Z

You’d have a table in app state, keying like [:blah.thing/by-id <id>].

2017-05-30T19:27:54.327840Z

I think that’s an orthogonal problem. I should have mentioned that :blah/thing is a collection of items and I need the collection to be updated in both places

gardnervickers 2017-05-30T19:28:48.346145Z

Normalizing lists is valid [:list-of/blah-things :list-one]

2017-05-30T19:30:26.379961Z

hmm, what’s identity for a list?

gardnervickers 2017-05-30T19:30:55.389988Z

Whatever meaning you want to assign it.

👍 1
gardnervickers 2017-05-30T19:31:34.403631Z

For managing users, you could have [:users/list-of :customers], [:users/list-of :admins] etc…

gardnervickers 2017-05-30T19:33:02.433656Z

Where app state for those looks like

{:users/list-of {:customers [[:user/by-id <>]...] :admins [[:user/by-id <>]...]}}