This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-04
Channels
- # announcements (7)
- # babashka (26)
- # babashka-sci-dev (19)
- # beginners (66)
- # calva (4)
- # clj-kondo (55)
- # cljs-dev (173)
- # cljsrn (17)
- # clojure (86)
- # clojure-art (3)
- # clojure-australia (1)
- # clojure-europe (24)
- # clojure-india (1)
- # clojure-nl (3)
- # clojure-uk (6)
- # clojured (5)
- # clojurescript (39)
- # cursive (8)
- # data-oriented-programming (20)
- # datomic (9)
- # emacs (10)
- # events (1)
- # figwheel-main (16)
- # fulcro (33)
- # gratitude (1)
- # helix (2)
- # hugsql (2)
- # jobs (2)
- # kaocha (4)
- # leiningen (5)
- # lsp (110)
- # malli (1)
- # missionary (17)
- # observability (3)
- # re-frame (10)
- # reagent (1)
- # reitit (7)
- # rewrite-clj (3)
- # shadow-cljs (63)
- # sql (19)
- # tools-build (74)
- # tools-deps (32)
- # transit (1)
- # xtdb (5)
Help! I have a Fulcro app modeled after the template for Expo. The JS compiles and loads to the simulator but it does not display. I have root render in my init. No log messages are displayed either. Does someone have any advice or help? Thanks in advance.
@UGNMGFJG3 I had a couple problems while trying to get the fulcro-mobile template working. First, the npm library native-base had changed a lot. Second, it seems that for whatever reason, try-catch no longer allows you to prevent a react render error from throwing. No idea why, and I haven't really had a chance to pursue it yet. So I had to replace the fulcro expo root render logic with one that did not use try-catch. Hopefully before too long I'll be able to dig some more and make a proper pull request, but for now, here is a modified template that should work: https://github.com/SignSpice/fulcro-real-world
Thank you @U013TCGL92T !
@UGNMGFJG3 You're welcome! Let me know if you run into any issues.
I added the fulcro expo root render that you pointed to. It’s still not working. I think it’s not even getting to that point. @U013TCGL92T
@UGNMGFJG3 Do you have the source code somewhere I could look at it?
Hi @U013TCGL92T I was able to uprev your repo (I forked it) to Expo 44 andd it’s working! I am going to try to integrate my stuff into this repo and see what i get.
Good deal, I am glad to here it! Yeah, I was going to suggest getting the debugger up and running. Sometimes it is the only way to see what the problem is. Once everything is up and running though, I prefer to do most of my debugging via repl.
Good morning @U013TCGL92T. I am wondering if you have used react-navigation
with Fulcro?
@UGNMGFJG3 I haven't yet. Although I may try to use the drawer menu in the near future. Whether I use it or not mostly depends on if I can find a way to stick to fulcro navigation (routers, etc) and just use the components.
Hmm, maybe I should look into that. I am brand new to Fulcro, so I was trying to stay "in the Fulcro world" as much as possible while getting started. I suppose it probably also would give you all the nice transition effects "for free".
@UGNMGFJG3 Have you had issues with hot reload and react navigation? I’ve been dealing with that for an app and seen that others have had the issue as well. This is with shadow-cljs, at least. After making a change the app will reload, even though fast refresh is disabled.