Fork me on GitHub
#om
<
2016-04-11
>
nxqd01:04:52

@bnoguchi: nice, looking forward to it simple_smile

seanirby04:04:30

anyone else notice a significant performance difference between om next apps on chrome and firefox?

seanirby05:04:22

welp, disabling logging made a huge difference. chrome seems to handle that much better than ff.

urbanslug05:04:32

@seanirby: Compared to om now you mean?

seanirby05:04:29

urbanslug: no I mean om next

urbanslug05:04:59

Oh I get what you mean, the difference is in between browsers

urbanslug05:04:31

I thought it was in between versions of Om

seanirby05:04:59

firefox nightly feels much faster

urbanslug06:04:45

Gotta go, talk later.

hlolli07:04:28

Just wondering, when will Om be upgraded to react v15.0?

hlolli12:04:03

Anyway, if someone is as excited to use svg shadows in OM, then do this

[org.omcljs/om "1.0.0-alpha32" :exclusions [[cljsjs/react]
                                                             [cljsjs/react-dom]]]
                 [sablono "0.6.3"]
                 [cljsjs/react "15.0.0-0"]
                 [cljsjs/react-dom "15.0.0-0"]
simple_smile

curtosis16:04:04

can someone recommend a good example of an app that does things like switching in different components? I think I've got the individual component concepts down, but would like to see it in a less-isolated context.

curtosis16:04:32

For example, nav bar on the left lets you select "Books" or "Movies" -> main area switches to a book-list component or movie-list component (assuming those need to be fundamentally different components)

curtosis16:04:41

(I tried looking at CircleCI's frontend, but it's got a LOT happening that makes it harder for me to see the components + routing + state + ___ = app)

kendall.buchanan17:04:52

@curtosis: You might have seen this already, but I’ve found this example app helpful. http://jannis.github.io/om-next-kanban-demo/

kendall.buchanan17:04:10

It may not speak directly to “switching”, but it might be worth a look.

iwankaramazow17:04:40

@seanirby: chrome/firefox run smooth over here, safari is a nightmare

curtosis17:04:54

@kendall.buchanan: thanks, that looks closer to what I'm looking for!

kenbier19:04:20

does anyone have a good example of a modal component they built in om next?

cjmurphy19:04:15

When you edit a card (other things too) in the Kanban demo mentioned above, then you (as user) are in a modal component.

kenbier19:04:16

@cjmurphy: ill take a look thanks

kenbier20:04:12

@cjmurphy: i was looking more for a reusable modal component, that you just pass in some props to

kenbier20:04:34

a component that the board-dialog and card-dialog could use, in this example

kendall.buchanan22:04:08

Quick q: Is the read function within the parser only applied to the query contained in root component?

isak22:04:59

on the first render, yes

kendall.buchanan22:04:20

@isak: Cool, thanks.

isak22:04:19

but when you trigger mutations you can trigger other queries