How to extend ResponsiveGrid in React SPA
Adobe SPA SDK provides implementation of ResponsiveGrid which is already mapped to
wcm/foundation/components/responsivegrid
In case I want to extend it, how am I supposed to do it? It is not very documented anywhere.
I'm referring to newly updated ResponsiveGrid which is coming with 1.0.0 of
@adobe/aem-react-editable-componentsOne example I found was suggesting something like this:
export class MyGrid extends ResponsiveGrid {
render() {
return (
<div {...this.containerProps}>
<div className="MyGrid-message">Welcome to my Custom Grid!</div>
{ super.childComponents }
{ super.placeholderComponent }
</div>
)
}
}
But that didn't work. It renders the "welcome..." text, but no placeholder for adding new components.


