In the itemDetailsSaga following code is written in the course:
export function* itemDetailsSaga() {
const { items } = yield take(SET_CART_ITEMS)
yield items.map((item) => fork(loadItemDetails, item))
}
However this does not set each individual item into the loadItemDetails function. Instead following method works:
Yield all
export function* itemDetailsSaga() {
const { items } = yield take(SET_CART_ITEMS)
yield all(items.map((item) => fork(loadItemDetails, item)))
}