Fork me on GitHub
#portal
<
2022-08-19
>
djblue06:08:49

For those interested in the Calva Notebook + Portal integration: https://clojurians.slack.com/archives/CBE668G4R/p1660888734261409?thread_ts=1660831660.571689&amp;cid=CBE668G4R

calva 3
portal 3
💜 2
💯 2
🎉 2
❤️ 1
dmegas17:08:32

Hello! I really enjoy using portal for my CL and CLJS projects - is it possible to use it with a react-native project. I’d like to use it on a krell project but stumble upon a

No such namespace: http, could not locate http.cljs, http.cljc, or
   JavaScript source providing "http" in file .m2/repository/djblue/portal/0.29.1/portal-0.29.1.jar!/portal/runtime/node/launcher.cljs

djblue17:08:16

I haven't tried using portal with krell :thinking_face:

dmegas17:08:20

Is it supposed to work with plain react native?

djblue18:08:40

No, not currently. Things are a little more complicated because of a remote device. I'm thinking the easiest thing is having the dev jvm process host the UI, and have the remote device send data to the dev jvm process.

djblue19:08:39

Do you know if the remote device can easily communicate back to the dev host?

dmegas00:08:22

when you say remote device, you mean like the emulator or physical mobile device?

djblue00:08:35

I think either since I assume the simulator acts like a separatly networked machine

dmegas00:08:26

not sure I understand what you mean by “easily communicate back to the dev host”

djblue00:08:10

Can the device make http requests back to the jvm?

dmegas00:08:22

:thinking_face: there is the krell repl server to which I think the device connects