1 min readJan 29, 2019
Hi Paul, thanks for the comment! Actually it’s not a bug, it’s just my naive implementation of toggleItemState
reducer ;) In a real world, CartItem
should have some id
and in reducer you’ll find those items by theirid
's.