cljsrn

https://github.com/drapanjanas/re-natal | https://github.com/drapanjanas/re-natal/wiki/FAQ | https://github.com/condense/mercury-app/wiki | https://github.com/seantempesta/expo-cljs-template/ https://www.npmjs.com/package/create-expo-cljs-app
Oliver George 2020-07-09T21:13:12.492Z

Morning all. New React Native release is out... 0.63. Doing some quick smoke tests with Krell.

👍 1
Oliver George 2020-07-09T21:13:19.492200Z

iOS and Android boot fine.

Oliver George 2020-07-09T21:14:00.492700Z

Here's a diff comparing 0.62 and 0.63 https://github.com/olivergeorge/krell-repros/compare/rn-63?expand=1

👍 3
2020-07-09T21:14:57.493Z

# New topic So these days, for doing React Native with CLJS we can say we have 3 major options: • Shadow-CLJS (:target :react-native) https://github.com/thheller/shadow-cljs • Figwheel-main (:react-native :cli) https://github.com/bhauman/figwheel-main • Krell https://github.com/vouch-opensource/krell Right ? Tell me if I forgot any?

2020-07-09T21:15:05.493300Z

I have some ideas, but I would also like to have your views on the pros and cons of these different approaches.

2020-07-09T21:16:25.494700Z

Maybe it's time to update some informations on https://cljsrn.org/ I'll find some times to contribute during my holidays.

Oliver George 2020-07-09T21:17:03.495500Z

I like Krell for doing as little as possible. No unnecessary personality beyond clojurescript idioms.

Oliver George 2020-07-09T21:17:27.496100Z

I expect Figwheel will be able to drop in on top of that (as of a day or two ago).

Oliver George 2020-07-09T21:19:03.497900Z

Shadow-CLJS deserves consideration but represents an alternative compile strategy and which puts more effort into user experience (actually would like someone else to better voice that - not sure I'm doign it justice)

Oliver George 2020-07-09T21:19:54.498600Z

(re-natal still exists and has a user base with a bit of an awkward upgrade path)

metehan 2020-07-09T22:40:52.002Z

clj -m cljs.main --install-deps
above line doesn't run on windows. (I am trying to get started with krell)
Exception in thread "main" java.io.FileNotFoundException: Could not locate ____init.class or __.clj on classpath:
        at clojure.lang.RT.load(RT.java:443)
        at clojure.lang.RT.load(RT.java:411)
Is there a way to do it same stuff with java I tried something like this java -cp "cljs.jar;src" cljs.main -m cljs.main --install-deps but no luck
Exception in thread "main" clojure.lang.ExceptionInfo: Namespace cljs.main does not exist. {:cljs.main/error :invalid-arg}
        at clojure.core$ex_info.invokeStatic(core.clj:4754)

2020-07-09T22:42:25.002600Z

@olivergeorge Thx for your feedback.

benny 2020-07-09T22:43:08.003100Z

trying to turn off all the yellow box warnings but this doesn’t seem to be working, any ideas?

(when js/goog.DEBUG
  (object/set js/console "ignoredYellowBox" true))

Oliver George 2020-07-09T23:06:37.003300Z

(set! js/console.disableYellowBox true)

Oliver George 2020-07-09T23:07:45.004700Z

Aside: RN 0.63 includes work to improve the logging including new UI which will change Yellow/Red box experience.

Oliver George 2020-07-09T23:08:04.004900Z

https://reactnative.dev/blog/#logbox

benny 2020-07-09T23:16:30.005400Z

awesome, thanks @olivergeorge!