Pouch and Couch Data Issues

Currently to have data on local device and then sync’d to cloud instance, we are using Pouch and Couch. But the data is currently not behaving as expected.

  1. the objects dont load when you first visit home
  2. duplication of the objects locally happens when you revisit the page

Looks like every time you visit home it pulls in data from pouch but doesnt check if it already has it.