Fork me on GitHub
#cljsrn
<
2020-07-09
>
Oliver George21:07:12

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

👍 3
Oliver George21:07:19

iOS and Android boot fine.

Michaël Salihi21:07:57

# 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?

Michaël Salihi21:07:05

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

Michaël Salihi21:07:25

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

Oliver George21:07:03

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

Oliver George21:07:27

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

Oliver George21:07:03

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 George21:07:54

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

metehan22:07:52

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)

benny22:07:08

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 George23:07:37

(set! js/console.disableYellowBox true)

Oliver George23:07:45

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