This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-27
Channels
- # aws (3)
- # aws-lambda (8)
- # bangalore-clj (1)
- # beginners (155)
- # boot (13)
- # cider (88)
- # cljs-dev (3)
- # cljsrn (9)
- # clojure (120)
- # clojure-india (1)
- # clojure-italy (2)
- # clojure-norway (1)
- # clojure-romania (2)
- # clojure-russia (41)
- # clojure-spec (4)
- # clojure-uk (34)
- # clojurescript (68)
- # core-logic (16)
- # cursive (11)
- # data-science (9)
- # datomic (19)
- # dirac (6)
- # duct (20)
- # emacs (7)
- # events (2)
- # figwheel (4)
- # fulcro (12)
- # graphql (1)
- # hoplon (68)
- # klipse (1)
- # leiningen (7)
- # lumo (11)
- # off-topic (9)
- # onyx (114)
- # pedestal (4)
- # protorepl (15)
- # re-frame (60)
- # reagent (3)
- # ring (18)
- # shadow-cljs (15)
- # spacemacs (82)
Is there a way to specify code that has to be at the top of the index.js file ? I would like to import shim.js there to use node modules in the react-native app
Isn't that precisely what re-natal does?
I changed re-natal.coffee line 756 for
fs.writeFileSync "index.#{platform}.js", "import './shim';#{moduleMap}require('figwheel-bridge').withModules(modules).start('#{projName}','#{platform}','#{devHost[platform]}');"
@pesterhazy it does require modules but rn-nodeify readme states The first line in index.ios.js / index.android.js should be to import it (NOT require it!)
, my change is useless because re-natal.coffee is in the node_modules, so changes are wiped when I make a clean install. As far as I can tell there is no easy way to add something to index.js
@yenda Perhaps this applies: https://github.com/drapanjanas/re-natal/issues/137
Maybe I misunderstand but isn't it for dev-dependencies and only apply when using figwheel-bridge ?
Guys is there a way to integrate re-frame-trace with cljs-expo so that we can monitor app state even while developing for react-native apps. @mikethompson
Not as far as i know but re frisk remote will work @sam16