cljsrn

hadils 2022-02-04T16:04:02.812749Z

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.

hadils 2022-02-07T14:40:19.322679Z

Good morning @zenflowapp. I am wondering if you have used react-navigation with Fulcro?

Benjamin C 2022-02-08T00:48:21.087459Z

@hadilsabbagh18 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.

hadils 2022-02-08T00:48:58.792129Z

I am using it now without routers. It’s pretty good!

Benjamin C 2022-02-08T00:52:45.049329Z

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".

hadils 2022-02-08T01:13:36.244589Z

Yes, it does.

Benjamin C 2022-02-05T01:52:00.559279Z

@hadilsabbagh18 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

hadils 2022-02-05T01:57:59.138499Z

Thank you @zenflowapp !

Benjamin C 2022-02-05T02:08:57.731869Z

@hadilsabbagh18 You're welcome! Let me know if you run into any issues.

hadils 2022-02-05T03:40:21.936539Z

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. @zenflowapp

Benjamin C 2022-02-05T04:52:45.048919Z

@hadilsabbagh18 Do you have the source code somewhere I could look at it?

bringe 2022-02-10T18:52:25.433279Z

@hadilsabbagh18 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.

hadils 2022-02-10T18:57:34.280669Z

Haven't had that problem. Hot reload works for me on the iOS simulator

👍 1
hadils 2022-02-05T13:38:41.309909Z

Hi @zenflowapp 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.

hadils 2022-02-05T16:42:16.058829Z

I got the React Native debugger to work so now I am seeing what’s wrong with my app..

hadils 2022-02-05T16:42:31.082589Z

I got it to work! I appreciate your repo! It helped a lot!

🎉 1
Benjamin C 2022-02-06T01:32:57.831049Z

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.