@w5s/applicationFunctionsApplicationApplication CallableApplication<Configuration>(id: string, initialConfiguration?: Configuration, store?: Ref<Readonly<Record<string, ApplicationState>>>): Application<Configuration>Returns an app instance with a state ref that will be stored in applicationStore.current[id]@exampleinterface MyAppConfiguration { foo: number}const myApp = Application<MyAppConfiguration>('my-app', { foo: 1,});myApp.configure({ foo: 2 });myApp.state.current = { ...myApp.state.current, myProperty: 'hello world !',};Type parametersConfiguration: object = Readonly<Record<string | symbol, never>>
Returns an app instance with a state ref that will be stored in
applicationStore.current[id]