Fork me on GitHub
#pathom
<
2020-07-24
>
Quentin Le Guennec07:07:15

Does pathom integrate well with re-frame?

souenzzo12:07:26

@quentin.leguennec1 I don't think that there is a re-frame<>EQL integration library But you can use a EQL backend(with pathom) as you use REST or GraphQL backend. Something like this

:http-xhrio {:method          :post
             :uri             "/api"
             :params          `[{:my/current [:query
                                              :with
                                              :params]}]
             :response-format (ajax/transit-response-format)
             :on-success      [:good-http-result]
             :on-failure      [:bad-http-result]}

👍 1