/
Add New Reducer (4h)
Add New Reducer (4h)
Reducer
Register a reducer, we must register via etc/config.js
file:
import HelloWorld from "../view/reducer";
import ModuleConfigAbstract from "../../ModuleConfigAbstract";
class HelloWorldConfig extends ModuleConfigAbstract{
module = ['helloworld'];
reducer = { HelloWorld };
}
export default (new HelloWorldConfig());
Exercise:
Add new reducer in POS
Create menu and component with content “Show Loading” button
Use reducer and redux, when click show loading, show small loading to screen, show loading change to hide loading
Process when click hide loading
, multiple selections available,
Related content
Menu and Component (4h)
Menu and Component (4h)
More like this
Layout Mechanism (4h)
Layout Mechanism (4h)
More like this
Create New Module (1h)
Create New Module (1h)
Read with this
Redux - Middleware (3h)
Redux - Middleware (3h)
More like this
Magestore POS Customization
Magestore POS Customization
Read with this
ReactJs - Environment Setup (4h)
ReactJs - Environment Setup (4h)
More like this