This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-11-09
Channels
- # aws (3)
- # bangalore-clj (3)
- # beginners (40)
- # boot (53)
- # cider (1)
- # cljs-dev (124)
- # cljsrn (22)
- # clojure (105)
- # clojure-italy (1)
- # clojure-nl (3)
- # clojure-russia (35)
- # clojure-spec (9)
- # clojure-uk (30)
- # clojurebridge (25)
- # clojurescript (107)
- # datomic (18)
- # dirac (21)
- # events (6)
- # hoplon (29)
- # leiningen (5)
- # off-topic (40)
- # om (17)
- # onyx (25)
- # parinfer (2)
- # pedestal (4)
- # perun (2)
- # planck (1)
- # protorepl (6)
- # re-frame (18)
- # reagent (15)
- # ring-swagger (4)
- # specter (2)
- # test-check (7)
- # testing (3)
- # untangled (45)
- # vim (2)
If you’re using Exponent or would like to give it a try, here is my experience: It’s by far the easiest and most enjoyable way for me. https://medium.com/@tiensonqin/why-exponent-on-react-native-especially-for-clojurescript-9bb1417c0c65#.g7pr44jyj
Nice read, thank you @tiensonqin. But still looking on the how many custom native modules I have it’s hard to imagine working in Exponent without it (OK, you mention it’s possible but I assume it misses the point of Exponent itself)
Yeah, currently if you have too much custom native modules, Exponent will not works for you. Integrating custom native modules will be the top priority for Exponent as I know.
btw - unrelated to this. Does anyone heard anything about native-script? Heard a lot about it some time ago, but haven’t seen it in use
I haven’t used it.
so i am using regular js rn.. because i dont want to deal with wrapping the wrapper for the native components
@pvinis you mean custom native module? Because custom component is easy to do:
class HelloWorldApp extends Component {
render() {
return (
<Text>Hello world!</Text>)}}
i would like to use cljs more, but i think react native is not the best way. its way too many layers to take into account. and when you want native modules and external libs etc, adding even more layers is not too easy
yep, can understand that. So, do you have any specific question about native module?
Or you just don’t know where to start?
btw - about that and for anybody in this chat: https://github.com/frostney/react-native-create-library Nice starting point for RN native module creation, in case you don’t want to spend much time
no specific problem. just that i sometimes have problems connecting objc-js, and then problems connecting js-cljs
@artemyarulin a thats pretty interesting
@pvinis maybe you want some examples? I have few in my repo)