This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-09
Channels
- # announcements (3)
- # babashka (120)
- # beginners (87)
- # calva (7)
- # clj-kondo (35)
- # cljsrn (25)
- # clojure (94)
- # clojure-austin (4)
- # clojure-europe (53)
- # clojure-nl (2)
- # clojure-norway (6)
- # clojurescript (16)
- # conjure (8)
- # cursive (6)
- # data-oriented-programming (2)
- # data-science (19)
- # datahike (1)
- # datalevin (29)
- # datomic (13)
- # fulcro (50)
- # gratitude (1)
- # honeysql (9)
- # jackdaw (2)
- # kaocha (7)
- # leiningen (3)
- # malli (4)
- # off-topic (4)
- # polylith (3)
- # re-frame (5)
- # reagent (1)
- # releases (1)
- # reveal (4)
- # shadow-cljs (17)
- # tools-deps (10)
- # vim (17)
- # vscode (4)
- # xtdb (3)
Hi! I have defined all my externs and am not using optimization, but my Android emulator keeps crashing on startup. Does anyone have experience with this? What should I be doing to stabilize my JS output from CLJS? Thanks in advance!
On a related note — is there anyone available for paid consulting? I need help with my Expo/RN project and would pay for support.
are you trying to build a new project or you carry on maintenance of existing one? If the former, this small example could help you: • https://github.com/PEZ/rn-rf-shadow • https://www.youtube.com/watch?v=QsUj7HO5xDg
No, I built a project with Expo and RN. Most everything works. I just need an extra pair of eyes on my work.
@UGNMGFJG3 If you are still looking for some extra help, I’ve got some availability. Feel free to DM.
Hi @U0E1JV8GK Can you help me with build.edn externs?
@UGNMGFJG3 Possibly, what are you looking to do? I haven’t seen the need to do an externing in recent CLJS builds that handle node dependencies much better.
I am getting warnings:
Adding extern to Object for property navigate due to ambiguous expression
Should I worry?I wouldn’t necessarily worry. If you have issues with advanced compilation, you might need to type hint the var that’s causing it though.
Any chance it’s in a core.async
block?
No. The code is:
(.dispatch ^js/NavigationContainer @navigator-ref (.navigate ^js/CommonActions CommonActions ^js/Object (clj->js {:name route :params {:screen screen}})))
I wouldn’t bet my life on it, but I think you need to type hint where they’re defined. I.e.,
(let [^js/NavigationContainer nav-ref @navigator-ref] ...
The docs aren’t totally clear on that being required but it’s how it’s always done.
Hm. :thumbsdown:
Are you having actual trouble or just seeing the warnings?
Yeah, I think you’ll be fine up to the point where you try to do advanced compilation, then you’ll be stuck.
Ah, that’s good then.