Fork me on GitHub
#cljsrn
<
2018-07-12
>
kennytilton04:07:08

Man my iOS sim is slow. Is hardware faster? All I have is an Android phone and Android builds have not yet cooperated or I would Just Try It.

mfikes11:07:22

@hiskennyness Generally, the iOS simulator running on a computer is much faster than hardware

kennytilton11:07:37

Thx. I should think so, having run my AskHN app on a phone and been impressed by the drop-off.

kennytilton14:07:22

Next dumb question: how does one do print debugging of an re-natal app? I have js/alert working like a champ but I like to log dozens of informationals to sort things out so alerts would be sub-optimal.

mfikes14:07:17

@hiskennyness One option is to just use prn and see the values in your REPL

kennytilton14:07:41

Really? I tried println, saw nothing. This is on ios sim, btw. I will try prn. Meanwhile it turns out I did not scroll down far enough to find react-native log-ios here: https://facebook.github.io/react-native/docs/debugging.html

mfikes15:07:42

Yeah, if you have a REPL connection, prn should definitely work. Hrm.

kennytilton16:07:36

prn works! and now println works. Sometimes software puts up a fight and then we break its will and everything starts working. Thx for the help.