This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-04-24
Channels
- # architecture (7)
- # beginners (73)
- # boot (4)
- # cider (48)
- # cljsjs (7)
- # cljsrn (27)
- # clojure (206)
- # clojure-boston (2)
- # clojure-italy (21)
- # clojure-nl (8)
- # clojure-spec (7)
- # clojure-uk (94)
- # clojurescript (126)
- # clojutre (7)
- # core-async (3)
- # cursive (7)
- # data-science (1)
- # datascript (4)
- # datomic (6)
- # duct (1)
- # emacs (19)
- # figwheel (1)
- # fulcro (31)
- # graphql (13)
- # jobs (5)
- # jobs-discuss (42)
- # keechma (4)
- # leiningen (10)
- # luminus (3)
- # mount (2)
- # nyc (3)
- # off-topic (37)
- # om-next (3)
- # onyx (45)
- # pedestal (2)
- # re-frame (4)
- # reagent (2)
- # reitit (16)
- # shadow-cljs (118)
- # spacemacs (10)
- # tools-deps (8)
- # vim (20)
@shulc_ @pesterhazy PureScript might also be worth looking into.
@clojurians.net, true, and typescript and flow are also options to consider
they make other tradeoffs
@pesterhazy on an unrelated (but still RN-related) note - did you get around to talking to the re-natal people/guy about getting this in there: https://github.com/pesterhazy/re-natal-husk I used to run into all kinds of nasty transformation failure issues and broken builds with cljs and RN, and this was a life-saver.
@clojurians.net, I think I never brought it up, if you could raise an issue in the re-natal github, that'd be great
one thing I'm not positive about is how to integrate it with the xcode project in a seamless way
the only way I see it update your XCode project using the XCode UI, or by editing the file
which is not very convenient
I also haven't tried this with Android, so not sure how it fits into the build pipeline there
I'll give the XCode integration some thought as well, at the moment it's a bit messy, yeah. But it works great, no more random build failures at the worst times because some part of the code somehow crossed some invisible complexity threshold making the whole transformation pipeline blow up.
@clojurians.net, same here, this hack just fixed these problems for us
Regarding the integration - maybe re-natal could do what it already does with the enable-source-maps
option - just patch the script under node_modules. It's not pretty, but it's easy.
I didn't know about enable-source-maps
, this might be a good option
the issue I see with that is that rm -rf node_modules && npm install
will undo that change
As a workaround until then, I force added the patched react-native-xcode.sh
version to my git repo, so I can just check it out after npm install
patch-package might be more foolproof?
it integrates with the "postinstall" setting in package.json