Background:
I run a number of community based sites using a LEMP framework of sorts. (e.g. https://geoexpat.com ).
I have been looking at Meteor for a while (countless tutorials, books etc) and have been avoiding it, as it essentially is a do-all or nothing type framework for us.
However, with Apollo, I can see us writing some of our framework to output JSON as opposed to HTML and have Apollo consume that and interact with various front ends - Web and mobile.
Questions:
-
Is my assumption correct? Can I use Apollo to slowly migrate to a more modern nodejs / api driven framework?
-
JSX / React are a huge learning curve for me. Can I code in simple JS on meteor and connect that to Apollo render using Blaze and expect this approach to stay valid for a couple of years? Or should I bit the bullet and move to JSX / React type code?
-
I have been using Iron Router in my tutorials. I like the CLI as it creates JS templates into which I can plug code in. Is there something that automates the JSX / React framework if I were to move to it?
-
How does Meteor / Apollo invalidate data that is provided by a web service? Does Apollo keep polling the data or does Meteor keep polling Apollo?
I understand that this section is very much in the expert domain… but having looked at Apollo from a high level, I feel this is something that will help me make incremental progress towards modernising our site(s) and also creating mobile apps. But need some guidance before I jump in, to make sure I’m not going down a path that is not viable or will not be supported long term.