React Native looks very promising. Unfortunately, it’s iOS only, so I’m sticking to Cordova for the time being. Although the Meteor-Cordova integration is quite quirky and I would love to have something more stable.
Maybe this will draw me to React, eventually, although I’m still a bit reluctant. Not that I love Blaze that much (actually, it’s getting quite spaghetti after some time), but I like it’s clear separation of code and HTML.
That’s how I got started. ReactNative is easier than Native iOS if you’re a web dev. And the <View> and <Text> components don’t feel like HTML so it doesn’t feel dirty mixing JS and HTML. Egghead has a really nice video on it too.
[quote=“waldgeist, post:9, topic:8891, full:true”]I would love to program Android apps using Swift, as I really dislike Java due to its complexity and over-sophistication.
If you like Swift for iOS and hate Java for Android, you should consider using Groovy for Android. Groovy is one of the modern languages that Swift seems to be inspired by. These links should help you explore further on this:
I’ve not tried it personally but have been using Groovy for many years on the server side, rarely had to use Java since then. Groovy support for android is quite new though, so make sure you’ve done your mandatory checks.
Groovy sounds interesting. Yet, I have to admit that my capacities for using multiple languages in parallel are limited - this confuses me too much. If Groovy was a lingua franca for everything (Meteor, iOS, Android), I would be very happy.
Basically we just need to polyfill some browser events and all should work like it does in the browser. Using webpack it’s fairly trivial to send all the meteor core + packaged to the app, then transfer the app code on file-change for development.
There’s already work started to allows ReactNative to request new app bundles on demand so that should be cooked in a little bit.
Since react-native is now out for android too(open-sourced ) this week. Was wondering if there is a way we can think of packaging react-native app with meteor. I see meteor apps are generally packaged as cordova only. So, i do not see a way, but i am way way behind in understanding meteor stuff off late.
No integration yet. You can still use the low level DDP methods for realtime pub/sub.
Meteor-GraphQL and Lokka are also an option if you want to go that route. Currently no realtime support as the spec isn’t finished yet. I’m going to slowly integrate this into my own RN app to replace the AJAX calls.