Skip to content

Releases: storefront-foundation/react-storefront

v8.5.0

02 Jun 12:22
8f4cc9e
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • Removes dependency on IntersectionObserver. The useIntersectionObserver hook now accepts a callback to be called when IntersectionObserver is not supported. (#90) @dijs

v8.4.0

01 Jun 13:30
c25cf25
Compare
Choose a tag to compare

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

28 May 09:37
d75d863
Compare
Choose a tag to compare

What's Changed

v8.3.2

27 May 09:14
019c1cc
Compare
Choose a tag to compare

What's Changed

  • Fixes navigation using simple HTML links instead of Next's Link component (#88) @tonylepmets

v8.3.1

20 May 07:54
6d29d73
Compare
Choose a tag to compare

What's Changed

v8.3.0

15 May 06:38
e6ab35f
Compare
Choose a tag to compare

What's Changed

🚀 Features

  • Only prefetch in production and in dev with process.env.SERVICE_WORKE… (#83) @markbrocato

v8.2.0

14 May 12:41
a382c65
Compare
Choose a tag to compare

What's Changed

🚀 Features

v8.1.0

13 May 14:25
bb9e82c
Compare
Choose a tag to compare

What's Changed

🚀 Features

  • Added lazy hydrate component (#55) @dijs
  • Allow for a custom icon for search submit button (#84) @kevhender

v8.0.1

12 May 12:33
e0c14f4
Compare
Choose a tag to compare

What's Changed

  • Update Menu contents when root property changes (#79) @kevhender

v8.0.0

08 May 17:35
a224654
Compare
Choose a tag to compare

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 },
  ],
})