Experimental project

This is a sandbox project, which contains experimental code for developer use only.

This module will be helpful for developers to understand the React CRUD functionalities and it's integration with Drupal8.


About Module

There is react_code directory which has all source codes of React.

dist directory is used for placing build related files which is generated by npm run build command.

How does this module interact with React App?

1) In simple_react_crud.libraries.yml,we are including only react_code/dist/index_bundle.js (which is a minimized and compressed js file having all React codes).

2) Keeping id app inside DIV of file templates/product-template.html.twig where React will be rendered.

Note: After installation of this module, two tables would be created in database 'products' and 'product_categories' and all CRUD APIs are already written in this module which are used by React.

Supporting organizations: 

Project information