This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-01-28
Channels
- # aatree (3)
- # alda (8)
- # avi (21)
- # beginners (37)
- # boot (193)
- # cbus (1)
- # cider (29)
- # cljs-dev (8)
- # cljsjs (3)
- # cljsrn (20)
- # clojure (76)
- # clojure-dev (13)
- # clojure-miami (20)
- # clojure-portugal (2)
- # clojure-russia (220)
- # clojure-sg (2)
- # clojurebridge (5)
- # clojurescript (94)
- # community-development (14)
- # conf-proposals (110)
- # core-async (12)
- # cursive (12)
- # datascript (6)
- # datomic (14)
- # dirac (72)
- # emacs (49)
- # hoplon (86)
- # jobs (33)
- # jobs-discuss (1)
- # ldnclj (6)
- # lein-figwheel (1)
- # off-topic (56)
- # om (139)
- # onyx (29)
- # pedestal (17)
- # proton (23)
- # re-frame (45)
- # reagent (35)
- # ring-swagger (4)
- # test-check (1)
- # testing (8)
- # yada (11)
@seantempesta: it seems to not work in general right now
Hs anybody got this error when running the project in xcode
react-native bundle --entry-file index.ios.js --platform ios --dev true --bundle-output /Users/raghu/Library/Developer/Xcode/DerivedData/luno-fuoqhabnyzryvxbmcbqkhjnwrkfc/Build/Products/Debug-iphonesimulator/luno.app/main.jsbundle --assets-dest /Users/raghu/Library/Developer/Xcode/DerivedData/luno-fuoqhabnyzryvxbmcbqkhjnwrkfc/Build/Products/Debug-iphonesimulator/luno.app ../node_modules/react-native/packager/react-native-xcode.sh: line 41: react-native: command not found Command /bin/sh failed with exit code 127
this is when running luno after lein prod-build
@rnandan273: had that the other day. Try lein clean
and purge your node_modules
Ok it’s the last day but I have a talk idea… at least kind of. “The state of ClojureScript + React Native”. Any objections / comments?
The topic is good as both are new and lot of things to catch up at all levels of development right from setup. I have successfully deployed clojurescript reagent / re-frame apps , but this is the first time i am trying native.
good luck, definitely its a topic that everybody will be interested. Whats possible / not possible. Adopting clojure / clojurescript definitely speeds up development time.
Finally i got the luno project working
In case it helps My setup that worked after some effort xcode 7.2 Mac OS ElCapitan 10.11.3 node 4.2.6 Java 8 In addition i had to do the following 1. http://stackoverflow.com/questions/33650380/react-native-error-react-native-xcode-sh-line-45-react-native-command-not-f/33678183 2. Install watchman as given here brew install --HEAD watchman
Hey ppl. Has anyone been successful in rendering a RN ListView in reagent? I have the following snippet:
(def data-source
(React.ListView.DataSource. #js{:rowHasChanged (fn [a b] false)}))
(defn render-row []
[ui/view])
(def rows
(clj->js ["whoa", "hey"]))
(defn main-scene []
(fn []
[ui/list-view {:render-row render-row
:data-source (.cloneWithRows data-source rows)}]))
What I get from this is "Failed propType: Required prop dataSource
was not specified in ListView
. Check the render method of app.ios.ui.main_scene
.” Which is followed by "Cannot read property 'rowIdentities' of undefined” as the data source is undefined inside the render method of the ListView.
My first guess was there was some special treatment of the “data-“ attributes somewhere in the internals of either reagent/hiccup or whatever, but I couldn’t find a single clue to why the property is not propagated properly.
And, yep, (.cloneWithRows data-source rows)
actually returns a valid ListViewDataSource object instance.And then if I pass :data-source
as :dataSource
all I get is a puzzling "StaticRenderer.render(): A valid ReactComponent must be returned. You may have returned undefined, an array or some other invalid object."
I’m using [email protected]
and [reagent "0.5.1" :exclusions [cljsjs/react]]
with [re-frame "0.6.0”]
.
Hey everyone.
I've finished writing one more small blog post about my React Native impressions. English is not my native language, and most probably there are some grammatical issues, but anyway.
It is here and I hope you agree with my thoughts
https://medium.com/@alwxdev/yes-we-can-cross-platform-native-mobile-applications-development-e315300d011e#.p8n5yray1
@alwx: I linked it in to http://cljsrn.org