Closed spion closed 5 years ago
Use the AppContext.Consumer to get the application within a component. This enables the use of app.getSingleton within e.g. page layouts
AppContext.Consumer
<AppContext.Consumer> {context => context.app.getSingleton(NameSingleton).appName} </AppContext.Consumer>
Use the
AppContext.Consumer
to get the application within a component. This enables the use of app.getSingleton within e.g. page layouts