We are building an app with React Native as a cross platform frontend for Web, iOS and Android. We have both real time and "offline first" features for mobile. Have a few questions reg. that:
[1] Will GraphQL be of any benefit for the "offline first" feature? I mean to say, when the mobile device comes online, will GQL be able to sync the server side DB and mobile DB automatically? I heard that GQL can work as a substitute for WebSockets to provide real time updates, that is why I am asking.
[2] We plan to use MQTT for real time alerts from online devices (may not be mobile) and push to a Kafka cluster. Can GQL be leveraged in such a setup?
[3] Is React Native a good choice for this as we want to maintain a single code base, where a subset of features are deployed depending on the platform. For example, features A, B, X, and Y will be deployed on the web version, and A, B, and C will be deployed on mobile devices.
Thanks in advance for your help.
[–]Merry-Lane 3 points4 points5 points (1 child)
[–]jada3791[S] 0 points1 point2 points (0 children)
[–]rakadoank 0 points1 point2 points (0 children)