Morning all. New React Native release is out... 0.63. Doing some quick smoke tests with Krell.
iOS and Android boot fine.
Here's a diff comparing 0.62 and 0.63 https://github.com/olivergeorge/krell-repros/compare/rn-63?expand=1
# 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?
I have some ideas, but I would also like to have your views on the pros and cons of these different approaches.
Maybe it's time to update some informations on https://cljsrn.org/ I'll find some times to contribute during my holidays.
I like Krell for doing as little as possible. No unnecessary personality beyond clojurescript idioms.
I expect Figwheel will be able to drop in on top of that (as of a day or two ago).
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)
(re-natal still exists and has a user base with a bit of an awkward upgrade path)
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)
@olivergeorge Thx for your feedback.
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))
(set! js/console.disableYellowBox true)
Aside: RN 0.63 includes work to improve the logging including new UI which will change Yellow/Red box experience.
awesome, thanks @olivergeorge!