Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Offline-first ReactNative applications in a real world

Offline-first ReactNative applications in a real world

Almost every mobile application needs to deal with data. Most likely it’ll need to communicate with the server or API. And for sure - there will be cases when internet connection disappears. In this talk, we’re going to discuss various options how to handle such situations from UI and data manipulation perspectives. And find out what tools does the react community provide for building your next ReactNative app.

Pavlo Babenko

March 31, 2018
Tweet

More Decks by Pavlo Babenko

Other Decks in Programming

Transcript

  1. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Offline-first React Native applications in a real world
  2. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Pavlo Babenko Hello, my name is
  3. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Let’s pretend to be the user
  4. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Let’s pretend to be the user for a moment
  5. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again User story
  6. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again we’ve lost the user
  7. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 2.2 million of apps in the iOS AppStore Don’t lose your users this way
  8. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 80% of them will never be opened again Don’t lose your users this way
  9. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again This is, probably, not what you want Don’t lose your users this way
  10. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Always think about offline support Don’t lose your users this way
  11. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Always convince the product owner Don’t lose your users this way
  12. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again So what should I do?
  13. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Display a notification! So what should I do?
  14. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Display notification
  15. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Display notification
  16. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Display notification
  17. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Easy, right? So what to do?
  18. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Next step? So what to do?
  19. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Restrict actions Next step?
  20. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Restrict actions
  21. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Pretend that nothing happened So what to do?
  22. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Pretend that nothing happened
  23. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again The Defensive Design principles
  24. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Defensive Design 1. Expected State 2. Loading State 3. Blank State
  25. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 1. Blank state
  26. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 1. Blank state
  27. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 2. Loading state
  28. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 2. Loading state
  29. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 3. Expected state
  30. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 3. Expected state
  31. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Your app might be closed and reopened at any time
  32. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Be prepared
  33. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Be prepared 1. Use atomic DB transactions 2. Persist redux state 3. Focus on local data
  34. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Be prepared 1. Use atomic DB transactions 2. Persist redux state 3. Focus on local data
  35. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Be prepared 1. Use atomic DB transactions 2. Persist redux state 3. Focus on local data
  36. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 1. Use atomic DB transactions
  37. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 1. Use atomic DB transactions
  38. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 2. Persist redux state redux-persist
  39. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 2. Persist redux state redux-persist
  40. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 2. Persist redux state redux-persist
  41. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 2. Persist redux state redux-persist
  42. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 2. Persist redux state redux-persist
  43. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 2. Persist redux state redux-persist
  44. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 2. Persist redux state redux-persist
  45. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 2. Persist redux state redux-persist
  46. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 2. Persist redux state redux-persist
  47. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 2. Persist redux state redux-persist
  48. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 2. Persist redux state redux-persist
  49. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 3. rely on local data first
  50. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 3. rely on local data first
  51. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 3 principles to follow 1. Optimistic 2. Pessimistic 3. Pragmatic
  52. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 3 principles to follow 1. Optimistic 2. Pessimistic 3. Pragmatic
  53. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 3 principles to follow 1. Optimistic 2. Pessimistic 3. Pragmatic
  54. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again be optimistic when the user is making some changes 1. Optimistic
  55. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again update UI as if nothing is wrong 1. Optimistic
  56. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again redux-optimist 1. Optimistic
  57. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again redux-optimist 1. Optimistic
  58. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again redux-optimist 1. Optimistic
  59. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again redux-optimist 1. Optimistic
  60. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again redux-optimist 1. Optimistic
  61. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again redux-optimist 1. Optimistic
  62. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again redux-optimist 1. Optimistic
  63. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again redux-optimist 1. Optimistic
  64. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again redux-optimist 1. Optimistic
  65. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again redux-optimist 1. Optimistic
  66. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again be pessimistic and store changes locally 2. Pessimistic
  67. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 2. Pessimistic
  68. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again be pragmatic DISPATCH action RETRY action ROLLBACK action 3. Pragmatic
  69. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again be pragmatic DISPATCH action RETRY action ROLLBACK action 3. Pragmatic
  70. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again be pragmatic DISPATCH action RETRY action ROLLBACK action 3. Pragmatic
  71. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again be pragmatic DISPATCH action RETRY action ROLLBACK action 3. Pragmatic
  72. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 3. Pragmatic
  73. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 3. Pragmatic
  74. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 3. Pragmatic
  75. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again What can possibly go wrong?
  76. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Offline-first is a compromise
  77. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again This needs to be done yesterday This is too expensive Why isn’t it working while I’m on the plane? Offline-first is a compromise
  78. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again This needs to be done yesterday This is too expensive Why isn’t it working while I’m on the plane? Offline-first is a compromise
  79. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again This needs to be done yesterday This is too expensive Why isn’t it working while I’m on the plane? Offline-first is a compromise
  80. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again The important bits
  81. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Be polite
  82. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Users should know where they are The important bits
  83. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again And what’s happening The important bits
  84. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again As developers, we always lack the time The important bits
  85. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again but there’s solution The important bits
  86. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Don’t have time - display notification The important bits
  87. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Don’t have time - leave a message The important bits
  88. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Connectivity detecting when the user may be offline
  89. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Connectivity NetInfo.isConnected.fetch().then(isConnected => { console.log('First, is ' + (isConnected ? 'online' : 'offline')); }); NetInfo
  90. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Connectivity react-native-offline
  91. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again React-native-offline withNetworkConnectivity
  92. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again React-native-offline withNetworkConnectivity
  93. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again React-native-offline withNetworkConnectivity
  94. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again React-native-offline withNetworkConnectivity
  95. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again React-native-offline withNetworkConnectivity
  96. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again React-native-offline withNetworkConnectivity
  97. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again React-native-offline withNetworkConnectivity
  98. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again React-native-offline withNetworkConnectivity
  99. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again React-native-offline Integration with redux
  100. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again React-native-offline Integration with redux
  101. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again React-native-offline Integration with redux
  102. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again React-native-offline Offline queue
  103. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again React-native-offline Offline queue
  104. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again React-native-offline Offline queue
  105. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again React-native-offline Offline queue
  106. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again React-native-offline Offline queue
  107. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again React-native-offline Offline queue
  108. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again React-native-offline Offline queue
  109. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Sync order
  110. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Sync order
  111. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Edit conflicts
  112. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again All changes should have an updated_at param Edit conflicts
  113. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again All changes should have an updated_at param and updated_by param Edit conflicts
  114. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Performance
  115. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Fetching data is expensive Going over the bridge is expensive Rendering big lists is expensive and there’s always Android Performance
  116. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Bonus
  117. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Data Persistence and Manipulation Bonus
  118. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Three main data manipulation options 1. SQLite / SQLCipher 2. Apollo/Redux 3. Realm Bonus
  119. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Three main data manipulation options 1. SQLite / SQLCipher 2. Apollo/Redux 3. Realm Bonus
  120. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Three main data manipulation options 1. SQLite / SQLCipher 2. Apollo/Redux 3. Realm Bonus
  121. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm
  122. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm …probably the easiest one
  123. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm 1. Easy to start with 2. Offline first 3. Two way data syncing 4. Background sync 5. Automatic conflict resolution 6. Has it's own DB implementation 7. A bunch of add ons Pros
  124. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm 1. Easy to start with 2. Offline first 3. Two way data syncing 4. Background sync 5. Automatic conflict resolution 6. Has it's own DB implementation 7. A bunch of add ons Pros
  125. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm 1. Easy to start with 2. Offline first 3. Two way data syncing 4. Background sync 5. Automatic conflict resolution 6. Has it's own DB implementation 7. A bunch of add ons Pros
  126. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm 1. Easy to start with 2. Offline first 3. Two way data syncing 4. Background sync 5. Automatic conflict resolution 6. Has it's own DB implementation 7. A bunch of add ons Pros
  127. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm 1. Easy to start with 2. Offline first 3. Two way data syncing 4. Background sync 5. Automatic conflict resolution 6. Has it's own DB implementation 7. A bunch of add ons Pros
  128. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm 1. Easy to start with 2. Offline first 3. Two way data syncing 4. Background sync 5. Automatic conflict resolution 6. Has it's own DB implementation 7. A bunch of add ons Pros
  129. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm 1. Easy to start with 2. Offline first 3. Two way data syncing 4. Background sync 5. Automatic conflict resolution 6. Has it's own DB implementation 7. A bunch of add ons Pros
  130. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm 1. Full engine is Closed Source 2. Restricted data model 3. Background sync 4. Works only with Realm objects (no raw data) 5. The full platform access costs money Cons
  131. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm 1. Full engine is Closed Source 2. Restricted data model 3. Background sync 4. Works only with Realm objects (no raw data) 5. The full platform access costs money Cons
  132. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm 1. Full engine is Closed Source 2. Restricted data model 3. Background sync 4. Works only with Realm objects (no raw data) 5. The full platform access costs money Cons
  133. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm 1. Full engine is Closed Source 2. Restricted data model 3. Background sync 4. Works only with Realm objects (no raw data) 5. The full platform access costs money Cons
  134. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm 1. Full engine is Closed Source 2. Restricted data model 3. Background sync 4. Works only with Realm objects (no raw data) 5. The full platform access costs money Cons
  135. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm Setup npm install --save realm react-native link realm
  136. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm Example
  137. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm Example
  138. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm Example
  139. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm Example
  140. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm Example
  141. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm Example
  142. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm 1. Small business apps 2. Big companies internal usage 3. MVP's When would I use it
  143. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm 1. Small business apps 2. Big companies internal usage 3. MVP's When would I use it
  144. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Realm 1. Small business apps 2. Big companies internal usage 3. MVP's When would I use it
  145. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Apollo/Redux
  146. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Apollo/Redux …a bit more complex
  147. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Apollo/Redux 1. GraphQL 2. Apollo Client 3. Apollo Engine 4. Apollo Server Pros
  148. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Apollo/Redux 1. GraphQL 2. Apollo Client 3. Apollo Engine 4. Apollo Server Pros
  149. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Apollo/Redux 1. GraphQL 2. Apollo Client 3. Apollo Engine 4. Apollo Server Pros
  150. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Apollo/Redux 1. GraphQL 2. Apollo Client 3. Apollo Engine 4. Apollo Server Pros
  151. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Apollo/Redux 1. No automatic background syncing 2. Not offline-first by default 3. No automatic conflict resolution 4. Not really a DB Cons
  152. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Apollo/Redux 1. No automatic background syncing 2. Not offline-first by default 3. No automatic conflict resolution 4. Not really a DB Cons
  153. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Apollo/Redux 1. No automatic background syncing 2. Not offline-first by default 3. No automatic conflict resolution 4. Not really a DB Cons
  154. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Apollo/Redux 1. No automatic background syncing 2. Not offline-first by default 3. No automatic conflict resolution 4. Not really a DB (but that’s fine) Cons
  155. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Setup npm install react-apollo --save Apollo/Redux
  156. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Example Apollo/Redux
  157. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Example Apollo/Redux
  158. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Setup npm install apollo-cache-inmemory --save Apollo/Redux
  159. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Example Apollo/Redux
  160. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Setup npm install apollo-cache-persist --save Apollo/Redux
  161. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Example Apollo/Redux
  162. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Setup yarn add react-native-fs redux-persist-fs-storage react-native link react-native-fs Apollo/Redux
  163. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 1. In 90% of cases 2. Small business 3. Enterprise apps 4. Or any other app When would I use it Apollo/Redux
  164. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 1. In 90% of cases 2. Small business 3. Enterprise apps 4. Or any other app When would I use it Apollo/Redux
  165. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 1. In 90% of cases 2. Small business 3. Enterprise apps 4. Or any other app When would I use it Apollo/Redux
  166. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 1. In 90% of cases 2. Small business 3. Enterprise apps 4. Or any other app When would I use it Apollo/Redux
  167. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again SQLite / SQLCipher
  168. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again SQLite / SQLCipher …highest complexity
  169. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again SQLite / SQLCipher Setup npm install --save react-native-sqlite-storage npm install --save react-native-sqlcipher-storage or
  170. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Example SQLite / SQLCipher
  171. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Example SQLite / SQLCipher
  172. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Example SQLite / SQLCipher
  173. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 1. In 1% of cases 2. When you need complex DB schema 3. Need to provide a good data security 4. When dealing with third-party API 5. When you need to execute complex SQL operations When would I use it SQLite / SQLCipher
  174. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 1. In 1% of cases 2. When you need complex DB schema 3. Need to provide a good data security 4. When dealing with third-party API 5. When you need to execute complex SQL operations When would I use it SQLite / SQLCipher
  175. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 1. In 1% of cases 2. When you need complex DB schema 3. Need to provide a good data security (SQLCipher) 4. When dealing with third-party API 5. When you need to execute complex SQL operations When would I use it SQLite / SQLCipher
  176. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 1. In 1% of cases 2. When you need complex DB schema 3. Need to provide a good data security 4. When dealing with third-party API 5. When you need to execute complex SQL operations When would I use it SQLite / SQLCipher
  177. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again 1. In 1% of cases 2. When you need complex DB schema 3. Need to provide a good data security 4. When dealing with third-party API 5. When you need to execute complex SQL operations When would I use it SQLite / SQLCipher
  178. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Questions?
  179. You can still post while offline. Oops! Something went wrong

    Please check your internet connection while we check our servers Try again Thanks.