This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-12-02
Channels
- # admin-announcements (29)
- # aws (11)
- # beginners (247)
- # boot (11)
- # business (1)
- # cider (73)
- # clara (5)
- # cljs-dev (37)
- # cljsrn (29)
- # clojure (86)
- # clojure-dev (9)
- # clojure-indonesia (1)
- # clojure-italy (3)
- # clojure-nl (1)
- # clojure-russia (195)
- # clojure-sg (2)
- # clojure-uk (3)
- # clojurecup (1)
- # clojurescript (296)
- # clojurex (2)
- # code-reviews (6)
- # core-async (3)
- # cursive (33)
- # datavis (9)
- # datomic (11)
- # funcool (31)
- # hoplon (1)
- # ldnclj (8)
- # lein-figwheel (5)
- # leiningen (5)
- # luminus (4)
- # off-topic (3)
- # om (172)
- # onyx (13)
- # re-frame (5)
- # reagent (84)
I can attach to JavaScriptCore running in the simulator via Ambly with Safari WebKit Inspector (using the Develop menu), and also using ios-webkit-debug-proxy. But neither of those are doing source mapping back to ClojureScript. If anyone get’s this working, please share how.
And the answer to my own question above is:
(lineargradient {:colors
[(js/React.processColor "#4c669f")
(js/React.processColor "#3b5998")
(js/React.processColor "#192f6a")]
:style {:flex 0.1}}
(text {:style {:paddingBottom 10}}
"Login now")))
I haven’t figured out yet how to have the text on the button like the demo the component’s homepage instead of floating above.
@gphilipp: Are you working on some open-source project? I’ll be happy to see the source if possible
It's not open source but I'd be glad to submit interesting parts as I go in some kind of react-native-clojurescript-cookbook or contribute to an open source demo where we could demonstrate useful components and how routing works for example. By the way, there is also this nice repo by Jearvon Dharrie : https://github.com/iamjarvo/zooborns
Yeah, it seems like there are lots of little tips and tricks. The js/React.processColor
trick doesn't warrant a whole blog post—just something to keep somewhere.
Maybe we could collaborate on such a cookbook, modeled after Anna's Om equivalent. @donmullen made a cljsrn
guthub group that might be a cool place to have such a thing. Just an idea.
I’ll be happy to push my proof of concepts with Om-next and I guess community would benefit from it
I guess it is this on https://github.com/cljsrn
@artemyarulin: that’s the one - would be great to pull in various work / cookbooks / etc here.
Haven’t used github groups before - can I create a project with my PoC and then add it to this group?
I guess it will be much easier to put staff in different projects and group it together under this group rather than create one project and die in a dependency hell
Anyone else running into this issue w/ Natal? https://github.com/dmotz/natal/issues/45
hi @scttnlsn you should have a look at https://github.com/omcljs/ambly/wiki/Connectivity
thanks @hmadelaine I’ll give that a read
@scttnlsn: You are welcome. On one of my machine, despite the recommandations on this page I cannot connect the first time. Often after the fifth try. I hope you are not in the same case 😉
@hmadelaine: I think it just can’t connect because the app crashes
Here’s a screenshot of the error that causes a crash in Xcode: https://github.com/dmotz/natal/issues/45#issuecomment-161410240
Actually, trying to mount from the terminal doesn’t do anything…I ran mount_webdav
but it doesn’t actually mount anything (no errors either)
@scttnlsn: I have the same symptom
@mfikes: do you have an example of navigating from screen to other screens with om/next and react-native ?
I think it does with navigator-ios, but I can’t confirm since I can’t manage to run his app. I cloned the repo, ran npm install
in the native
directory, ran natal xcode
, built successfully but then it won’t run, it fails with a EXC_BAD_ACCESS
at RTCContextExecutor.m:397
.
And there is also https://github.com/aksonov/react-native-router-flux, https://github.com/aksonov/react-native-redux-router, https://github.com/t4t5/react-native-router. There’s a plethora of choice for routing it seems. What does play best with om/next is yet to see.