Closed keanulee closed 6 years ago
Thoughts about the result so far:
<app-location>
in <shop-app>
to provide the current window.location
and intercept link clicks. This could (should?) be replaced by a JS-only router that listens on window
.<shop-list>
creates a list of <shop-list-item>
and sets the item
property on them (similarly with <shop-cart>
and <shop-cart-item>
). I feel that this is fine since the "state" of the app is still reflected in the store and the choice of doing a Polymer-style binding here is an implementation detail of <shop-list>
.Closing. For current progress on adding Redux to Shop, see the redux-example-meta
and lit-element
branches.
Opening this WIP PR for comments only.