@wazapp/core
API
App
Example
import { App as Wazapp } from '@wazapp/core'
const MyApp = () => (
<Wazapp>
<IndexPage />
</Wazapp>
)
export default MyApp;Owner
Methods
Example
Last updated
class MySingleton {
constructor(options) {
this.options = options;
}
}
owner.register(MySingleton, new MySingleton({ hey: 'wazapp' }));
const mySingletonInstance = owner.lookup(MySingleton);