Fork me on GitHub
#om
<
2016-06-11
>
jimmy13:06:55

hi guys, is there any good guide on handling error returned from backend in om next ?

tmorten18:06:53

I don't know if anyone is interested in this, but I wrote this code for a react-native (re-natal) project I am working on. It solves the issue of introducing styles on a per-platform basis (similar to Facebooks F8 app). https://gist.github.com/tylermorten/64657949067f72a449a87801574a15c7

jasonjckn23:06:17

What am I missing here ?

(om/db->tree `[{:bar [:foo]}] {:bar [{:foo 3} {:foo 4}]} {})
===>
{:bar [{} {}]}
how do I write a query that returns
{:bar [{:foo 3} {:foo 4}]}