Blog

How to create a React hook in Magento 2 PWA

How to create a React hook in Magento 2 PWA

5 years ago
Hooks allow us to create function components that are used to reuse the same feature in more than one class component. There are many built-in React hooks defined in Venia and Peregrine libraries. We can use React hooks for the state management feature, to set data and to retrieve data. In this blog, we get […]
Read More

How to create custom extension in Magento 2 PWA

5 years ago
In Magento 2, we can install and set up any third-party extension in our project and use them according to our requirements. In that same way, we can create a custom extension in Magento PWA Studio, too. Lars Roettig, a Magento maintainer released a npm package (https://www.npmjs.com/package/@larsroettig/create-pwa-extension) to create a custom extension in Magento PWA […]
Read More

How to modify React Components in Magento 2 PWA

5 years ago
In Magento2, we can add/delete/modify views and layouts by overriding Layout XMLs and Templates. In PWA studio, we can achieve that feature using TargetableReactComponent. This component is used to add, delete, modify or replace React Components of the Venia UI storefront. You can review the document for the use of TargetableReactComponent from the following path […]
Read More

Setup PWA Studio with Magento 2

5 years ago
Magento Progressive Web Apps (PWA) provides a mobile application experience to users with so many development tools and React components. It provides fast and reliable performance to users. PWA is compatible with Magento 2.3 and above versions. Install Venia sample data in Magento 2 In case, you want to install venia sample data in your […]
Read More

Create your account

chatsimple