Fork me on GitHub
#cljsrn
<
2020-07-02
>
benny21:07:56

shadow is proving to be challenging with inconsistent dependency availability, any recommendations of one over the other with shadow, figwheel or main?

benny21:07:34

maybe my real issue is cljs-ajax and cljs-http don’t support cljrn?

raspasov22:07:27

cljs-ajax was problematic for me; there was a solution of sorts somewhere but I preferred to go barebones and just use the React Native’s fetch API directly, that worked well enough for my use-case

👍 3
benny22:07:59

seems like cljs-http supports cljsrn 😕 https://github.com/r0man/cljs-http/issues/122

benny22:07:12

at least for him

raspasov22:07:36

As far as I remember cljs-http was fine; but I haven’t tried using it recently

benny22:07:32

i’m suspicious of shadow so i’m switching to lein

raspasov22:07:01

I have no idea about shadow, perhaps ask in #shadow-cljs

benny22:07:00

that’s where that message was from, but they’re not sure over there either 😞

raspasov22:07:23

ah… I’d suggest just trying fetch api directly

raspasov22:07:36

If you don’t need advanced features, it will be more than good enough

raspasov22:07:14

I use this so I can auto-magically convert JS promises to core.async https://github.com/jamesmacaulay/cljs-promises has been working without issues for many years now

joshmiller22:07:59

@benny cljs-http does work on RN (I’ve used it with both re-natal and Krell, but not shadow)

joshmiller22:07:33

I think cljs-ajax does not

benny23:07:14

my main issue right now is the reference error above

benny23:07:07

I suspect it could be shadow causing the issue but haven't worked in figwheel or krell for cljs