Core
createSolvimonCore initialises the SDK once with shared configuration, and gives you back the methods to mount any screen or component.
Overview
Call createSolvimonCore once, typically at app initialisation, and reuse the returned instance across your app. The shared config you pass here applies to every screen and component you mount, so you don’t repeat yourself.
The returned instance exposes two methods:
createComponent(id, { container, portalObject, configuration }): mounts a component into a container and returns anunmountfunction.createScreen(id, { container, portalObject, configuration }): mounts a screen into a container and returns anunmountfunction.
Initialise
Initialise the core