om

Please ask the channel first, not @dnolen directly!
sophiago 2017-04-21T00:04:50.341893Z

@danielstockton I'm not sure. React-key works fine and although it's been a while I believe I copied it from one of the examples on the wiki (I've never used Om core). But if it's changed I'd love to know.

2017-04-21T07:47:10.372349Z

I thought it changed from :react-key to :key from om to om.next but perhaps :react-key still works too.

urbank 2017-04-21T07:58:27.503748Z

@pedroteixeira If I'm not mistaken, @qqq is using datascript with om next.

petterik 2017-04-21T08:40:04.045279Z

@pedroteixeira We're using datascript with om.next, and here's a whirlwind tour of what you have to do. You have to implement your own merge function, you can't use db->tree and you'll need to stay away from set-query!. A while ago I had to set the :migrate reconciler option to nil, I'm not sure if this is the case anymore, but it's what we're still doing. Since we can't use set-query!, we get "dynamic" queries by using state from our current route in our parser (reads/mutates), and this state can be passed to a remote by adjusting the query in the parser. We're using datomic on the backend and we've gotten a lot of surprising wins.

2017-04-21T08:53:27.226686Z

@petterik I actually find I do this anyway, even not using datascript. I'm not sure set-query! even needs to be a thing.

1👍