Syntax simplifications, improvements, and bugfixes in ScandiPWA 3.0.0-beta.5

ScandiPWA
Progressive Web Apps
2 min readJul 3, 2020

We’ve got another release for you! This release is related to the 3rd version of ScandiPWA, currently available in beta.

Let’s check the feature breakdown to learn what ScandiPWA developers prepared this time!

Improvements

  • Introduce @namespace decorator to use instead of middleware function
  • 2 new ESLint rules: one endorses using @namespace and the second one prohibits using middleware. Migration process can be automatised: disable use-namespace rule, enable no-middleware and then npm run eslint:fix. Check for correctness, enable the first rule back and enjoy the new awesome syntax!
  • Migrate the application to new syntax
  • Provide namespaces for all Promise handlers in the application
  • Allow concise callback(...args) instead of callback.apply(instance, args) in plugins

Bug fixes

  • Fix Fallback plugin not having enough arguments in the production SW config

Get the latest ScandiPWA version and find more info about the release on our Github:

We hope you enjoyed the latest ScandiPWA updates. Follow us on Twitter or join the first Magento PWA community in our Slack channel where you can stay up-to-date with our work, explore the latest technical progress, ask questions and meet other enthusiasts!

ScandiPWA is the first open-source PWA theme for Magento.

--

--