I am currently working on a react and AEM integration, few things to share-
- we are using AEM as an authoring experience and generating the content as a service.
- In a component HTML, we are only defining the Java model call and JSON model.
- we are using sling models to generate the JSON of the component.
- so if any additional field is added in dialog or if you want to add any new property key-value pair in JSON then you will have to modify the component dialog as well as sling models.
- here the key is nothing but your dialog node property name. and value is authored content.
- The front end is generating through the React app.
~ Prince