A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
Go to file
Kelly Dwan 96925f77fa Component: Fix rows prop in Table (https://github.com/woocommerce/woocommerce-admin/pull/193)
* Move component lifecycle method to top of component

* Update rows if the rows passed in via props have changed

This lets us bring in API changes, but will wipe out any sorting (revisit in a later PR, perhaps)

* Pass rows through to Table even if we don’t have rows loaded yet

Adds todo comment to remind that we should come back to add a placeholder/loading state
2018-07-13 15:36:41 -04:00
plugins/woocommerce-admin Component: Fix rows prop in Table (https://github.com/woocommerce/woocommerce-admin/pull/193) 2018-07-13 15:36:41 -04:00