Shape of State - Justin-Stockton/PokeHunt Wiki

Example shape of state

store = {
    session: {},
    productDetail: {
        productId: {
                productData,
                user: {user who owns product},
                reviews: {
                    reviewId: {
                            reviewData,
                            user: {userData}
                    },
                    optionalOrderedList: []
                }
        }
    },
    allProducts: {
        productId: {
            productData,
            user: {userData}
        },
        optionalOrderedList: []
    }
}