JSON Model Mapping for React AEM App
Hello All,
I've been working on a react AEM app for my work, our model is based off the model from the wknd-events app in Getting Started with React and AEM SPA Editor. Were currently trying to figure out how the server side and client side pass properties. We understand properties are getting mapped to a JSON model as mentioned in step 6 in Text Component. So as far as the wknd-events app located in Getting Started with React and AEM SPA Editor is concerned, where are the props in the JSON model coming from? I'll place more details below:
- For example we have this items object with a text object inside. Inside of text we have a richText key-value pair. Where is this being set?
- If I wanted to add a new key-value pair how would I do so?
Thanks All,