Fork me on GitHub
#cljsrn
<
2016-11-22
>
tianshu16:11:38

Is Dart a good way to write mobile application?

artemyarulin16:11:02

no, ClojureScript is better rich

tianshu16:11:15

I think the tooling for CLJSRN still need some evolution.

artemyarulin16:11:53

so, does Dart tooling is better? I haven’t heard about dart on mobile at all

tianshu16:11:46

haven't try it, but Dart declares it will compile to native code (Android NDK/IOS LLVM).

artemyarulin16:11:24

oh, then no ReactNative then, which in my opinion is very cool

tianshu16:11:38

I'm not going to use Dart develop mobile app, but I curious if it's possible for Clojure.

tianshu16:11:09

ReactNative is good, but It's not seamless enough for ClojureScript at this moment.

artemyarulin16:11:44

well yes. Well, you can do something like Clojure > bytecode, bytecode > Java > Java2ObjC troll (side note actually GMail team using J2Objc to write business logic only once for both platforms. But only logic, no UI/Platform specific code)

jsonmurphy16:11:06

has anyone gotten DrawerLayoutAndroid to render its view with re-natal? The drawer itself works fine but its contents show up blank... this is what i've tried:

artemyarulin16:11:43

and btw - no need to use ReactNative for ClojureScript. iOS has JavaScriptCore API which is nice. I’ve started using CLJS before RN was released and it was fine

tianshu16:11:42

perhaps, you should use reagent/render-element instead of trying to convert reagent component to react component.

jsonmurphy16:11:30

@doglooksgood hey thanks... its actually reagent/as-element but the solution works... cheers

bbss17:11:55

@doglooksgood I used Dart quite a bit a while back. I liked it. I heard they are now working on a project called Flutter to do a react-native-like thing

artemyarulin17:11:03

@bbss What did you like there most of all?

bbss17:11:00

The completeness of the core libraries, the autocomplete, mostly on the dom.

bbss17:11:18

It's a nicer JavaScript with optional types. What it has on TypeScript/Flow nowadays I wouldn't know. But the ecosystem was pretty good.

bbss17:11:25

Anyways yeah, ClojureScript > Dart 😄 cljs > all parrot