title: React | working with remote data advise ( a conversation )
body: <p>I've taken the program at Udacity for react and react native, and it taught me well id say.</p>
  <p>Now that I am equipped with the skills and have a good knowledge of the environment and redux etc. Im trying to build my first test app that handles data living remotely.</p>
  <p>In the React tutorials we would use local mock data,  and try to fetch it and even simulating the delay with a setTimeout call.  But the problem is the tutorials worked excellent only for the types of apps they were building. I'll get to this in a bit...</p>
  <p>My app description:</p>
  <p><em>At the moment i'm making a test app and so far I can : retrieve a collection of food items ( remote data), render the data,  and press &quot;LIKE&quot; on anyone.  After pressing Like that food item URL gets saved into another remote file under the authedUser's account under a &quot;favorites&quot; property.
  The food data at the moment is in a json file hosted on a github repository.
  and so is the users account data.</em></p>
  <p>The thing I noticed in the react course was,  Data would be received into the redux store.
  from there anytime you dispatched an action which involved data changes like &quot;Favoriting&quot; something, the app would first dispatch an action to server. Once that resolves it would dispatch to the redux store and affect it there.
  Now from what I understand... this is a way to keep the data in sync?   Is this how other applications do it? or is it when data is changed, you only dispatch the change to the server, and request/fetch the new data into redux once the action resolves? The tutorials would receive the initial data, and like this it would be set and stone and then rely on the dispatches to keep it in sync.    would it be better to simply use local state, fetch the data we want. vs using the store?</p>
  <p>Im not exactly sure whats best, but to me the idea of receiving the entire data file into the app seems not scalable? like when you use instagram for example,  your phone doesn't download the entire instagram database.    Im thinking it downloads only your profile?  and url's to your friends? etc?</p>
  <p>so for this test app that I am trying to make ( described in italic font above ^ )
  I'm not sure how to go about it. I definitely don't think its appropriate to receive the entire data file.  I know that I want the user to receive food items onto the screen, but only a handful at a time, maybe through a search it modifies the results on screen. then the user can like a food item.</p>
  <p>This is the first time i'm working on an application of this sort, and I do think i'm missing something.</p>