Fork me on GitHub
#cljsrn
<
2021-05-28
>
Lucas21:05:23

I need help integrating react native with my reagent / figwheel app. I am trying to build a mobile app, but the tutorial I started with was for web apps... https://betweentwoparens.com/start-a-clojurescript-app-from-scratch Should I use krell, shadow-cljs, or what?

thheller21:05:33

if you use cljs.main or figwheel.main then krell will probably look more familiar

Lucas22:05:53

I opened and then closed this, https://github.com/vouch-opensource/krell/issues/137 Because I put the dependency in my deps.edn, but then realized the part I need help with, is integrating with figwheel.

thheller09:05:39

you don't integrate this with figwheel. krell is its own tool that handles REPL and hot-reload without figwheel. figwheel you can just keep as is for web stuff.

raspasov11:05:48

Also, figwheel-main supports React Native by itself (that’s what I’ve been using) https://figwheel.org/docs/react-native.html You should be able to follow the guide above and get a working dev REPL. I haven’t tried it recently, but I have gone through it in the past and it worked. Ask here if any questions.