Releases: storefront-foundation/react-storefront
Releases · storefront-foundation/react-storefront
v8.5.0
v8.4.0
What's Changed
- Fix lazy loading of images in CmsSlot. (#93) @markbrocato
- Spread additional props provided to SearchPopover to the underlying P… (#92) @markbrocato
- Allow the user to scroll the page when SearchPopover is open. (#91) @markbrocato
v8.3.3
What's Changed
- Fix useSimpleNavigation for catch-all routes. (#89) @markbrocato
v8.3.2
What's Changed
- Fixes navigation using simple HTML links instead of Next's Link component (#88) @tonylepmets
v8.3.1
What's Changed
- Fix thumbnail reuse (#86) @tonylepmets
v8.3.0
What's Changed
🚀 Features
- Only prefetch in production and in dev with process.env.SERVICE_WORKE… (#83) @markbrocato
v8.2.0
v8.1.0
What's Changed
🚀 Features
- Added lazy hydrate component (#55) @dijs
- Allow for a custom icon for search submit button (#84) @kevhender
v8.0.1
What's Changed
- Update Menu contents when
root
property changes (#79) @kevhender
v8.0.0
What's Changed
- New streamlined service worker makes it easier to customize service worker logic. Your service worker is now configured at sw/service-worker.js. Here is an example:
// sw/service-worker.js
import { configureServiceWorker } from 'react-storefront/sw'
const maxAgeSeconds = 60 * 60 // 1 hour
configureServiceWorker({
api: [
{ path: '/api/p/[productId]', maxAgeSeconds },
{ path: '/api/s/[subcategoryId]', maxAgeSeconds },
{ path: '/api', maxAgeSeconds },
],
})