This is a slightly more advanced Redux example, that simulates a shopping cart: getting the products, adding/removing items to the cart, and a checkout action, that can sometimes randomly fail (to simulate where you would add failure handling).
This view, as well as its 2 child elements, <shop-products>
and
<shop-cart>
are connected to the Redux store.