This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-07-09
Channels
- # announcements (2)
- # babashka (33)
- # beginners (122)
- # bristol-clojurians (1)
- # calva (6)
- # chlorine-clover (3)
- # cider (45)
- # clara (10)
- # clj-kondo (3)
- # cljsrn (17)
- # clojure (80)
- # clojure-dev (21)
- # clojure-europe (86)
- # clojure-italy (5)
- # clojure-japan (5)
- # clojure-losangeles (7)
- # clojure-nl (5)
- # clojure-portugal (3)
- # clojure-uk (31)
- # clojurescript (30)
- # conjure (4)
- # core-async (29)
- # cursive (20)
- # data-science (25)
- # datomic (7)
- # duct (17)
- # figwheel-main (73)
- # fulcro (23)
- # jobs-discuss (36)
- # juxt (5)
- # kaocha (2)
- # lambdaisland (6)
- # luminus (5)
- # malli (17)
- # mount (10)
- # music (7)
- # off-topic (16)
- # re-frame (30)
- # ring (17)
- # rum (1)
- # shadow-cljs (10)
- # spacemacs (10)
- # specmonstah (4)
- # sql (45)
- # tools-deps (21)
- # xtdb (20)
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!