aem-react-editable-components
aem-react-editable-components copied to clipboard
Model property in container will clash with exported field 'model' via a Content Fragment Sling Model Exporter
trafficstars
in certain cases a content fragment component needs to be represented as a Container to allow for inter-paragraph parsys injection.
Having a reserved property called model in the Container Props means that a Content Fragment component won't be able to leverage and extend from the default Container implementation due the property 'model' already being reserved for the PageModel object - see: thttps://github.com/adobe/aem-react-editable-components/blob/f61655af0e95bd9de4bf4d5769028a7c0883347f/src/components/Container.tsx#L31