getApp
Requires:
@ray-js/ray≥0.5.10
Method signature
getApp()Description
Get the application's unique App instance; the instance object is src/App.tsx
Parameters
None
Return Value
Type: AppInstance
App instance object
Referenced Types
interface
AppInstance| Property | Type | Description |
|---|---|---|
getData | () => Record<string, unknown> | Get global application data |
setData | (data: Record<string, unknown>) => void | Set global application data |