@ikonai/sdk-react-ui 0.0.29 → 0.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +317 -289
- package/package.json +1 -1
- package/use-ikon-ui-stores.d.ts +4 -2
package/package.json
CHANGED
package/use-ikon-ui-stores.d.ts
CHANGED
|
@@ -2,7 +2,9 @@ import { IkonUi } from './ikon-ui';
|
|
|
2
2
|
import { IkonUiStoreEntry } from './surface';
|
|
3
3
|
/**
|
|
4
4
|
* Hook that subscribes to IkonUi store changes.
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* Triggers re-renders when:
|
|
6
|
+
* - Stores are added/removed
|
|
7
|
+
* - A store transitions from empty to having valid data (rootViewId + views)
|
|
8
|
+
* Does NOT re-render on every node update within stores.
|
|
7
9
|
*/
|
|
8
10
|
export declare function useIkonUiStores(ikonUi: IkonUi | null | undefined): ReadonlyMap<string, IkonUiStoreEntry> | undefined;
|