This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-04-05
Channels
- # aleph (2)
- # announcements (3)
- # architecture (5)
- # beginners (51)
- # biff (5)
- # cider (1)
- # clerk (8)
- # clj-kondo (6)
- # cljsrn (5)
- # clojure (31)
- # clojure-europe (42)
- # clojure-nl (1)
- # clojure-norway (21)
- # clojure-uk (3)
- # emacs (11)
- # fulcro (2)
- # graphql (6)
- # hugsql (1)
- # jobs (2)
- # leiningen (3)
- # lsp (3)
- # malli (13)
- # missionary (1)
- # off-topic (7)
- # pathom (7)
- # polylith (27)
- # reagent (14)
- # reitit (3)
- # remote-jobs (7)
- # shadow-cljs (20)
- # spacemacs (4)
- # sql (3)
- # tools-build (4)
- # xtdb (7)
hey there, it's been a while since I looked at mobile dev with Clojure/Script. What's the current state of the art? Shadow-cljs with React Native target? Any other options how to not code in Swift/Objective-C and still have an iOS app come out on the other side? Thanks in advance!
If mobile is the goal, have you considered https://github.com/Tensegritics/ClojureDart/blob/main/README.md/Flutter? If RN is an invariant, I have had great luck with https://github.com/PEZ/rn-rf-shadow, and there also is non-re-frame https://github.com/lilactown/helix.
thanks, Kenny, Flutter is an interesting suggestion. I remember the disappointment when Dart was announced, but ClojureDart might work.
I understand what they are up to with Dart and Flutter, but both remind me why I like CLJ. 🙂 And ClojureDart is wonderfully executed. I am not crazy about RN, though the several CLJS wrappers do a fine job of making it more palatable. But Flutter targeting mobile and Web and desktop is sick, as the kids say. The one disaster in Flutter is, as with React, throwing up their hands regarding state management and saying, "Save yourselves!". They have a few micro state management tools, but suggest we look elsewhere for a serious tool. One of those is https://pub.dev/packages/mobx#introduction, and MobX is better than most. A more CLJ-y solution is my hack, https://github.com/kennytilton/flutter-mx. That works like all my MX-wrapped UIs. A live, tl;dr of the CLJS Web version is https://kennytilton.github.io/web-mx-quickstart/#/. Ping me on #matrix if you would like an onboarding session.