This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-06
Channels
- # announcements (12)
- # asami (3)
- # babashka (59)
- # beginners (20)
- # biff (1)
- # calva (87)
- # cherry (8)
- # clj-kondo (41)
- # clj-together (4)
- # cljdoc (5)
- # cljfx (4)
- # cljs-dev (2)
- # cljsrn (6)
- # clojure (63)
- # clojure-europe (22)
- # clojure-nl (1)
- # clojure-norway (35)
- # clojure-uk (4)
- # clojurescript (5)
- # conjure (2)
- # datalevin (4)
- # datascript (8)
- # datomic (16)
- # events (1)
- # figwheel-main (1)
- # fulcro (9)
- # hyperfiddle (4)
- # introduce-yourself (1)
- # jobs (3)
- # kaocha (10)
- # lambdaisland (2)
- # lumo (7)
- # nbb (1)
- # off-topic (29)
- # pathom (15)
- # re-frame (80)
- # releases (1)
- # remote-jobs (4)
- # shadow-cljs (13)
- # spacemacs (9)
- # sql (25)
- # squint (32)
- # tools-deps (6)
- # uncomplicate (6)
- # xtdb (15)
It works great. I setup an app using latest react native with fabric activated. Imported node modules easily and even imported custom typescript code and used it without issue in cljs. Interop and everything works. Reanimated 3 and many other libraries work out of the box. I could probably never do RN development without cljs again. 😄
@U0121V7FXG8 which setup did you use? I tried it with Krell on iOS today and got this:
I used both Krell and Shadow-cljs. Both worked. In Krell I could not import default libraries like with Reanimated 3, but what I could do is to create a typescript file, import reanimated there and then use the normal (js/require "...") function to import the typesript file and use reanimated through that.
I would say shadow-cljs is better with allowing you to use such libraries directly in cljs, but Krell is really lightweight and easy to get started with. And if you like to work in both typescript / jsx and cljs at the same time, then there are no restrictions.