Author: Dhara Bhatti

Declarative Schema in Magento 2

Declarative Schema in Magento 2

4 years ago
Declarative schema is a new concept introduced in Magento 2.3. It makes the smooth process of database schema operations with fewer coding and execution steps. Before Magento 2.3, the following script files are used in the Setup directory of the module to perform DB management: InstallSchema.php: runs script when module is installed to the setup […]
Read More

How to create custom module in Magento 2

4 years ago
The Magento module is a structural element that handles the flow of functionality. We can use a module for third-party module customization, override default Magento functionality, and implement new features. There are controller, block, model, etc, views directories to manage the business feature. There are two directories where you can place your modules, app/code, and […]
Read More

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

Create your account

chatsimple