a04c00a79f
* Make Mini-Cart block work well with caching plugins * Add tests * Add back aria-label to Mini-Cart menu * Fetch Mini-Cart data before page finishes loading * Store and retrieve Mini-Cart values from localStorage for better performance * Update styles as early as possible * Reorder code * Remove overrideTotals param from updateTotals() function * Update tests * Initialize local storage inside a function and add act to filter tests * Replace void with undefined types in several funtions * Fix 0 quantity badge appearing on page load |
||
---|---|---|
.. | ||
test | ||
data.ts | ||
set-styles.ts |