This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-07-16
Channels
- # announcements (3)
- # babashka (25)
- # beginners (71)
- # calva (18)
- # clj-kondo (52)
- # cljs-dev (94)
- # cljsrn (12)
- # clojure (33)
- # clojure-europe (52)
- # clojure-nl (2)
- # clojure-uk (27)
- # clojurescript (18)
- # clojureverse-ops (4)
- # datomic (64)
- # deps-new (27)
- # depstar (5)
- # events (5)
- # fulcro (5)
- # graalvm (12)
- # graalvm-mobile (82)
- # helix (2)
- # introduce-yourself (1)
- # juxt (5)
- # lsp (10)
- # malli (7)
- # missionary (1)
- # off-topic (41)
- # pathom (69)
- # pedestal (6)
- # re-frame (4)
- # reagent (8)
- # releases (9)
- # remote-jobs (8)
- # shadow-cljs (3)
- # sql (46)
- # tools-deps (44)
- # uncomplicate (1)
- # vim (83)
Hi all, I’m going to try and make my first mobile app with clojurescript. I will need some native features like integration with healthkit and filesystem access (hopefully can store things in icloud/google drive for sync). My question is, what tooling should I use? At a glance my options look like: • Expo (looks like it does a lot for you, but maybe that leads to bad times in the future?) • Krell (I like the simplistic approach, but its not very clear what you miss out on vs expo) • re-natel (probably won’t use this as I don’t like leiningen) Does anyone have any real world experience with these things? Preferably I would write this like I write a webapp, then just click deploy and it appears in the ios and android app store 😄 I realise its unlikely to be that easy though
Oh it will also need to be able to work in the background (play audio and keep track of a timer)
I think shadow-cljs supports expo pretty well? Krell was created to solve problems at my work - and we're doing pretty serious RN dev with lots of custom native libraries
Yeah that makes sense, I’m starting with shadow + expo for now. Main problem I have currently is getting the repl to work… I can connect to shadows nrepl through emacs/cider and the actual repl buffer works, but I can’t eval things in my namespaces
@alex395 the nrepl always starts out in CLJ mode so you need to switch it to CLJS via (shadow.cljs.devtools.api/repl :your-build-id)
. then its CLJS and you can eval away
I was already doing that, I definitely have a cljs repl, I can type (js/alert "foo")
in the buffer and see the alert in the browser tab, but evaling things in the code doesn’t work
But I might be doing it wrong.. I’m doing cider-connect-cljs from a namespace in my app