A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
Go to file
Darren Ethier 534d8f6fdd Add context for query state context string. (https://github.com/woocommerce/woocommerce-blocks/pull/1172)
* ensure useProductLayoutContext actually returns the context!

* add query state context and export provider and hook.

* implement useQueryStateContext in existing querySTate hooks and refactor other implementations

* add back in documentation removed in rebase

* default layout context to empty string (no need to add additional classes by default

* fix jsdoc
2019-11-14 12:16:27 -05:00
plugins/woocommerce-blocks Add context for query state context string. (https://github.com/woocommerce/woocommerce-blocks/pull/1172) 2019-11-14 12:16:27 -05:00