Redux Store - matai-2020/ABA GitHub Wiki
Initial state and overall structure:
{
# WE NEED TO DECIDE HOW OUR STORE LOOKS
foods: [ ], // when populated, is an array of objects
categories: [] // when populated, is an array of objects
foodDetails: { }, // when populated, contains properties of an individual food,
searchTerm: '',// when populated, contains input from search bar
sortType: '', // when populated, contains string name of the sort type used
// e.g. 'alphabeticalAscending', 'waterUsageDescending'
pending: false, // boolean
error: null // null or string containing error message if error
}