Closed wookiehangover closed 9 years ago
views/components/item-column/index.js
state
this.props.loading
views/pages/items.js
_onChange
getItemsByStatus
stores/product-store.js
actions/product-actions.js
items.off()
Pulling the band aid off a bit here, but this definitely is a small step towards a cleaner data model.
@wookiehangover besides the local storage q and the filters flushing on product init it looks good :+1:
What does it do?
Where should the reviewer start?
views/components/item-column/index.js
state
into props, since this comes from the parent nowthis.props.loading
before trying to render anythingviews/pages/items.js
_onChange
handler togetItemsByStatus
stores/product-store.js
actions/product-actions.js
items.off()
that was causing events to be lost in certain conditionsBackground context
Pulling the band aid off a bit here, but this definitely is a small step towards a cleaner data model.
GIF