I am new to meteor and plan to invest my time on this platform.
What interests me is also react and react native? Hope I could build a solution that can work on both iOS and Android too. As before this, I am wondering what would be the best solution to bring meteor.js to mobile app front end.
It’s more complicated, but not so hard. React-native runs in a JS environment, so you can compile your app, then just take the built file of your app (the client side) and run it in there. I’m not sure what features are missing though. You might have to skip Websockets and HTML5 local storage (just guessing, as it’s not a browser you’re in, other features might not work either). You might need a Websocket polyfill in order for things to work.
Hi, react-native has a websocket polyfill so its possible. Currently there is no out of the box solution to use meteor with R-N and you will have to figure out how do you make it the react way as you will miss a minimongo implementation.
Yep, Meteor is built on web sockets by default. There are workarounds, but of course the easiest way is for Meteor to just use what it’s designed for.
Yeah, Meteor can build for both platforms. You can use a multitude of web-based UI tools like Ionic, MaterialDesign or Polymer alongside Bootstrap, Foundation, or Semantic, etc. There’s many options.
If you get more advanced, you can even write a UI or Game (etc) using Three.js while still taking full advantage of Meteor’s reactivity with Tracker, Mongo.Collections, etc. For transformation-matrix-based DOM manipulation in 3D, check out Samsara (which is an alternative to the Famousproject). Some of us in the community are working on a new 3D engine for the web at infamous.io, so look out for that in the near future.
There’s even canvas-based UI libraries for the web like Zebkit.
There’s tons of options, which is why the web is so awesome. But, it’s really easy to choose the wrong libraries or techniques and end up with a “janky” app, so just experiment and research and (in my opinion) you can have a “native” app that performs really well if done the right way.