46934d2946
* Create withReviews base HOC * Add tests * Make Reviews by Category use withReviews HOC * Move componentDidUpdate and debounce dependency to decouple HOC from components * Spaces * Rename 'delayMethod' to 'delayFunction' * Refactor withReviews HOC * Update tests * Minor fixes * Undo fix being handled in woocommerce/woocommerce-blocks#884 * Remove hardcoded from withReviews * Update delay comment * Use callbacks instead of announceUpdates prop * Move props check to a 'shouldReplaceReviews' method * Fix productId propType * Move per_page and offset args to 'getArgs' * Update withReviews displayName * Fix tests * Add callback propsTypes * Use is-shallow-equal |
||
---|---|---|
.. | ||
test | ||
with-component-id.js | ||
with-reviews.js |