Solved
EstebanBustamanteAccepted solution
New Participant
Aug 23, 2023 1:46 PM UTC
Hi,
Can you post your code? The only important part is that you should initiate the ModelManager before the root.render() invocation, or any other render() method which bootstrap the application. Like this:
...
import { ModelManager } from "@adobe/aem-spa-page-model-manager";
// Initialize the ModelManager before invoking root.render(..).
ModelManager.initializeAsync();
const container = document.getElementById('root');
const root = createRoot(container);
root.render(<App />);
Esteban Bustamante