Module to add React to Magento 2 KO frontend

Installs: 0

Dependents: 1

Suggesters: 0

Stars: 6

Watchers: 4

Forks: 0

Open Issues: 0



0.0.1 2019-03-22 10:04 UTC


The current Magento 2 frontend is based on Knockout, RequireJS and ES5 modules. However, with an eye on the upcoming PWA moves, it is already possible to add React components to the Magento 2 frontend as it is. This Magento module serves as a base module, to offer generic RequireJS aliases react and reactDOM to be used in other modules like the Yireo_ReactMinicart


Use the following commands to install this module into Magento 2:

composer config repositories.yireo-react vcs git@github.com:yireo-training/Yireo_React.git
composer require yireo/magento2-react:dev-master

./bin/magento module:enable Yireo_React
./bin/magento setup:upgrade


This module has no real functionality. It is only offering RequireJS aliases for usage in other React-components.