This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # admin-announcements (2)
- # alda (4)
- # beginners (15)
- # boot (89)
- # cljs-dev (88)
- # cljsrn (75)
- # clojure (149)
- # clojure-belgium (16)
- # clojure-france (2)
- # clojure-greece (6)
- # clojure-russia (108)
- # clojure-spec (39)
- # clojure-taiwan (3)
- # clojure-uk (7)
- # clojurescript (70)
- # css (3)
- # cursive (17)
- # data-science (2)
- # datascript (7)
- # datomic (41)
- # dirac (3)
- # hoplon (12)
- # instaparse (1)
- # juxt (3)
- # lambdaisland (9)
- # mount (4)
- # off-topic (6)
- # om (71)
- # om-next (4)
- # onyx (22)
- # other-languages (56)
- # perun (15)
- # proton (6)
- # re-frame (32)
- # reagent (42)
- # specter (34)
- # spirituality-ethics (7)
- # tmp-json-parsing (5)
- # untangled (13)
- # vim (4)
- # yada (6)
@drapanjanas 0.26. and it does not contain
SwipeableRow/* in node_modules, yes,
but I could not find a way to import any other
Experimental components which are present in my project's node_modulel/react-native/Libraries/Experimental.
do I need to do something extra? like wrap those in a package myself and then require by path, rather than require by name?
@misha: is it in your node_modules try to use it directly in
require, just remember that
require work from root of your app folder. For example:
(js/require «node_modules/react-native/Libraries/Experimental/<smth>»). This work on web apps, not sure this work on react-native
(js/console.log (js/require "node_modules/react-native/Libraries/Experimental/Incremental.js")) (js/console.log (js/require "node_modules/react-native/Libraries/Experimental/Incremental"))
Requiring: node_modules/react-native/Libraries/Experimental/Incremental.js Requiring unknown module "node_modules/react-native/Libraries/Experimental/Incremental.js". Requiring: node_modules/react-native/Libraries/Experimental/Incremental Requiring unknown module "node_modules/react-native/Libraries/Experimental/Incremental".
@misha I was able to require
(def IncrementalPresenter (js/require "IncrementalPresenter”))
but for me it did not work with WindowedListView because module nullthrows was not found, not sure why
well, re-natal does not change* the RN app, so whatever there is in RN will happen 🙂
@drapanjanas: correct me if i’m wrong: when you upgrade re-natal app dependencies doesn’t update, but if i’m create new project with upgraded re-natal I get newest version of RN?
@drapanjanas: is it safe (from re-natal pov) to update to any RN versions? I am aware I might get some app code broken, but it should not break any re-natal scaffolding, right?
yes, when you upgrade re-natal you get updated scripts like figwheel-bridge.js and whatever changes in .re-natal config, but not more than that
when you init new app with new version of re-natal you get recent version of RN in package.json so newer react-native app is initialized
@drapanjanas: but when I’m create project with re-natal I doesn’t install react-naative global, isn’t it?
to create RN app init uses react-native cli, so whatever is there. no global as I know
This is can just line in npm scripts in package.json to run «react-native upgrade», but run it from re-natal is cool IMO
Just when I’m first time upgrade re-natal from cli, I thought that RN updated too
yeah… its there at the bottom of Upgrading existing project, but it is invisible prrobably
maybe two subchapters would make it more clear: upgrading React Native version and upgrading re-natal CLI
@misha yes you should be able to upgrade RN version any time painlessly by following RN guide.
sweet, thanks. my main concern was about obj c code, but apparently RN cli manages that stuff, so I think I'm good.
@drapanjanas: another improvement is to write in terminal when you upgrade re-natal, that available new RN version and put link to guide
I got some dependency exceptions on rn update, so I killed node_modules folder before retrying, and x-code died, so all is good
Don’t know why ^^^ this magic works, but maybe trying to do use-component emptyFunction 😕
hm, looks like bug in RN) if search in RN repo by
emptyFunction then in all places it is 'fbjs/lib/emptyFunction'