tinybase 8.1.1 → 8.2.0-beta.1

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.
Files changed (58) hide show
  1. package/@types/persisters/index.d.ts +1 -1
  2. package/@types/persisters/persister-durable-object-sql-storage/index.d.ts +6 -6
  3. package/@types/persisters/persister-durable-object-sql-storage/with-schemas/index.d.ts +6 -6
  4. package/@types/persisters/persister-durable-object-storage/index.d.ts +2 -2
  5. package/@types/persisters/persister-durable-object-storage/with-schemas/index.d.ts +2 -2
  6. package/@types/persisters/persister-electric-sql/index.d.ts +3 -3
  7. package/@types/persisters/persister-electric-sql/with-schemas/index.d.ts +3 -3
  8. package/@types/persisters/persister-expo-sqlite/index.d.ts +3 -3
  9. package/@types/persisters/persister-expo-sqlite/with-schemas/index.d.ts +3 -3
  10. package/@types/persisters/persister-file/index.d.ts +1 -1
  11. package/@types/persisters/persister-file/with-schemas/index.d.ts +1 -1
  12. package/@types/persisters/persister-libsql/index.d.ts +3 -3
  13. package/@types/persisters/persister-libsql/with-schemas/index.d.ts +3 -3
  14. package/@types/persisters/persister-partykit-client/index.d.ts +2 -2
  15. package/@types/persisters/persister-partykit-client/with-schemas/index.d.ts +2 -2
  16. package/@types/persisters/persister-powersync/index.d.ts +3 -3
  17. package/@types/persisters/persister-powersync/with-schemas/index.d.ts +3 -3
  18. package/@types/persisters/persister-react-native-mmkv/index.d.ts +2 -2
  19. package/@types/persisters/persister-react-native-mmkv/with-schemas/index.d.ts +2 -2
  20. package/@types/persisters/persister-react-native-sqlite/index.d.ts +3 -3
  21. package/@types/persisters/persister-react-native-sqlite/with-schemas/index.d.ts +3 -3
  22. package/@types/persisters/persister-remote/index.d.ts +1 -1
  23. package/@types/persisters/persister-remote/with-schemas/index.d.ts +1 -1
  24. package/@types/persisters/with-schemas/index.d.ts +1 -1
  25. package/@types/synchronizers/synchronizer-ws-server-durable-object/index.d.ts +7 -7
  26. package/@types/synchronizers/synchronizer-ws-server-durable-object/with-schemas/index.d.ts +7 -7
  27. package/@types/ui-react/index.d.ts +3 -3
  28. package/@types/ui-react/with-schemas/index.d.ts +3 -3
  29. package/@types/ui-react-dom/index.d.ts +18 -13
  30. package/@types/ui-react-dom/with-schemas/index.d.ts +18 -13
  31. package/@types/ui-react-inspector/index.d.ts +4 -4
  32. package/@types/ui-react-inspector/with-schemas/index.d.ts +4 -4
  33. package/@types/ui-svelte-dom/index.d.ts +2105 -0
  34. package/@types/ui-svelte-dom/with-schemas/index.d.ts +2152 -0
  35. package/@types/ui-svelte-inspector/index.d.ts +70 -0
  36. package/@types/ui-svelte-inspector/with-schemas/index.d.ts +70 -0
  37. package/agents.md +16 -9
  38. package/min/ui-react-inspector/index.js +1 -1
  39. package/min/ui-react-inspector/index.js.gz +0 -0
  40. package/min/ui-react-inspector/with-schemas/index.js +1 -1
  41. package/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
  42. package/min/ui-svelte-dom/index.js +1 -0
  43. package/min/ui-svelte-dom/index.js.gz +0 -0
  44. package/min/ui-svelte-dom/with-schemas/index.js +1 -0
  45. package/min/ui-svelte-dom/with-schemas/index.js.gz +0 -0
  46. package/min/ui-svelte-inspector/index.js +1 -0
  47. package/min/ui-svelte-inspector/index.js.gz +0 -0
  48. package/min/ui-svelte-inspector/with-schemas/index.js +1 -0
  49. package/min/ui-svelte-inspector/with-schemas/index.js.gz +0 -0
  50. package/package.json +74 -2
  51. package/readme.md +14 -14
  52. package/releases.md +48 -48
  53. package/ui-react-inspector/index.js +4676 -4657
  54. package/ui-react-inspector/with-schemas/index.js +4676 -4657
  55. package/ui-svelte-dom/index.js +2443 -0
  56. package/ui-svelte-dom/with-schemas/index.js +2443 -0
  57. package/ui-svelte-inspector/index.js +7682 -0
  58. package/ui-svelte-inspector/with-schemas/index.js +7682 -0
@@ -84,7 +84,7 @@ export class WsServerDurableObject<
84
84
  * This example enables Durable Object persistence by creating a Persister
85
85
  * object within the createPersister method of a WsServerDurableObject.
86
86
  *
87
- * ```js yolo
87
+ * ```js ignore
88
88
  * import {createMergeableStore} from 'tinybase';
89
89
  * import {createDurableObjectStoragePersister} from 'tinybase/persisters/persister-durable-object-storage';
90
90
  * import {WsServerDurableObject} from 'tinybase/synchronizers/synchronizer-ws-server-durable-object';
@@ -122,7 +122,7 @@ export class WsServerDurableObject<
122
122
  * This example logs the path being served by the Durable Object every time a
123
123
  * synchronization method is handled.
124
124
  *
125
- * ```js yolo
125
+ * ```js ignore
126
126
  * import {WsServerDurableObject} from 'tinybase/synchronizers/synchronizer-ws-server-durable-object';
127
127
  *
128
128
  * export class MyDurableObject extends WsServerDurableObject {
@@ -148,7 +148,7 @@ export class WsServerDurableObject<
148
148
  * This example logs the list of clients being served by the Durable Object
149
149
  * every time a synchronization method is handled.
150
150
  *
151
- * ```js yolo
151
+ * ```js ignore
152
152
  * import {WsServerDurableObject} from 'tinybase/synchronizers/synchronizer-ws-server-durable-object';
153
153
  *
154
154
  * export class MyDurableObject extends WsServerDurableObject {
@@ -177,7 +177,7 @@ export class WsServerDurableObject<
177
177
  * when the first client joins (the path Id is 'added'), and when the last
178
178
  * client leaves (the path Id is 'removed').
179
179
  *
180
- * ```js yolo
180
+ * ```js ignore
181
181
  * import {WsServerDurableObject} from 'tinybase/synchronizers/synchronizer-ws-server-durable-object';
182
182
  *
183
183
  * export class MyDurableObject extends WsServerDurableObject {
@@ -212,7 +212,7 @@ export class WsServerDurableObject<
212
212
  * leaves (the client Id is 'removed') on the path being served by the Durable
213
213
  * Object.
214
214
  *
215
- * ```js yolo
215
+ * ```js ignore
216
216
  * import {WsServerDurableObject} from 'tinybase/synchronizers/synchronizer-ws-server-durable-object';
217
217
  *
218
218
  * export class MyDurableObject extends WsServerDurableObject {
@@ -248,7 +248,7 @@ export class WsServerDurableObject<
248
248
  * This example logs every message routed by the Durable Object between
249
249
  * clients.
250
250
  *
251
- * ```js yolo
251
+ * ```js ignore
252
252
  * import {WsServerDurableObject} from 'tinybase/synchronizers/synchronizer-ws-server-durable-object';
253
253
  *
254
254
  * export class MyDurableObject extends WsServerDurableObject {
@@ -322,7 +322,7 @@ export class WsServerDurableObject<
322
322
  * Durable Object in the `MyDurableObjects` namespace. This would require the
323
323
  * `wrangler.toml` configuration shown above.
324
324
  *
325
- * ```js yolo
325
+ * ```js ignore
326
326
  * import {
327
327
  * WsServerDurableObject,
328
328
  * getWsServerDurableObjectFetch,
@@ -11844,7 +11844,7 @@ export function useParamValueListener(
11844
11844
  * // ->
11845
11845
  * `
11846
11846
  * <div>
11847
- * <input id="input">
11847
+ * <input id="input" value="cat">
11848
11848
  * {"felix":{"species":"cat"}}
11849
11849
  * </div>
11850
11850
  * `;
@@ -11995,8 +11995,8 @@ export function useSetParamValueCallback<Parameter>(
11995
11995
  * `
11996
11996
  * <div>
11997
11997
  * <form>
11998
- * <input id="species">
11999
- * <input id="color">
11998
+ * <input id="species" value="cat">
11999
+ * <input id="color" value="black">
12000
12000
  * <button type="submit">Filter</button>
12001
12001
  * </form>
12002
12002
  * {"felix":{"species":"cat","color":"black"}}
@@ -13034,7 +13034,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
13034
13034
  * // ->
13035
13035
  * `
13036
13036
  * <div>
13037
- * <input id="input">
13037
+ * <input id="input" value="cat">
13038
13038
  * {"felix":{"species":"cat"}}
13039
13039
  * </div>
13040
13040
  * `;
@@ -13201,8 +13201,8 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
13201
13201
  * `
13202
13202
  * <div>
13203
13203
  * <form>
13204
- * <input id="species">
13205
- * <input id="color">
13204
+ * <input id="species" value="cat">
13205
+ * <input id="color" value="black">
13206
13206
  * <button type="submit">Filter</button>
13207
13207
  * </form>
13208
13208
  * {"felix":{"species":"cat","color":"black"}}
@@ -5,7 +5,7 @@
5
5
  * The components in this module use the react-dom module and so are not
6
6
  * appropriate for environments like React Native (although those in the
7
7
  * lower-level ui-react module are).
8
- * @see UI Components demos
8
+ * @see UI Components (React) demos
9
9
  * @packageDocumentation
10
10
  * @module ui-react-dom
11
11
  * @since v4.1.0
@@ -690,7 +690,7 @@ export type SortedTablePaginatorProps = {
690
690
  * Store as an HTML <table> element, and registers a listener so that any
691
691
  * changes to that result will cause a re-render.
692
692
  *
693
- * See the <TableInHtmlTable /> demo for this component in action.
693
+ * See the <TableInHtmlTable /> (React) demo for this component in action.
694
694
  *
695
695
  * The component's props identify which Table to render based on Table Id, and
696
696
  * Store (which is either the default context Store, a named context Store, or
@@ -832,7 +832,8 @@ export function TableInHtmlTable(
832
832
  * Table in a Store, as an HTML <table> element, and registers a listener so
833
833
  * that any changes to that result will cause a re-render.
834
834
  *
835
- * See the <SortedTableInHtmlTable /> demo for this component in action.
835
+ * See the <SortedTableInHtmlTable /> (React) demo for this component in
836
+ * action.
836
837
  *
837
838
  * The component's props identify which Table to render based on Table Id, and
838
839
  * Store (which is either the default context Store, a named context Store, or
@@ -1002,7 +1003,7 @@ export function SortedTableInHtmlTable(
1002
1003
  * as an HTML <table> element, and registers a listener so that any changes to
1003
1004
  * that result will cause a re-render.
1004
1005
  *
1005
- * See the <ValuesInHtmlTable /> demo for this component in action.
1006
+ * See the <ValuesInHtmlTable /> (React) demo for this component in action.
1006
1007
  *
1007
1008
  * The component's props identify which Row to render based on Table Id, Row Id,
1008
1009
  * and Store (which is either the default context Store, a named context Store,
@@ -1130,7 +1131,7 @@ export function ValuesInHtmlTable(
1130
1131
  * <table> element, and registers a listener so that any changes to that result
1131
1132
  * will cause a re-render.
1132
1133
  *
1133
- * See the <SliceInHtmlTable /> demo for this component in action.
1134
+ * See the <SliceInHtmlTable /> (React) demo for this component in action.
1134
1135
  *
1135
1136
  * The component's props identify which Slice to render based on Index Id, Slice
1136
1137
  * Id, and Indexes object (which is either the default context Indexes object, a
@@ -1272,7 +1273,7 @@ export function ValuesInHtmlTable(
1272
1273
  * </table>
1273
1274
  * `;
1274
1275
  * ```
1275
- * @category Indexes components
1276
+ * @category Other components
1276
1277
  * @since v4.1.0
1277
1278
  */
1278
1279
  export function SliceInHtmlTable(
@@ -1284,7 +1285,8 @@ export function SliceInHtmlTable(
1284
1285
  * linked by a Relationship as an HTML <table> element, and registers a listener
1285
1286
  * so that any changes to that result will cause a re-render.
1286
1287
  *
1287
- * See the <RelationshipInHtmlTable /> demo for this component in action.
1288
+ * See the <RelationshipInHtmlTable /> (React) demo for this component in
1289
+ * action.
1288
1290
  *
1289
1291
  * The component's props identify which Relationship to render based on
1290
1292
  * Relationship Id and Relationships object (which is either the default context
@@ -1446,7 +1448,7 @@ export function SliceInHtmlTable(
1446
1448
  * </table>
1447
1449
  * `;
1448
1450
  * ```
1449
- * @category Relationships components
1451
+ * @category Other components
1450
1452
  * @since v4.1.0
1451
1453
  */
1452
1454
  export function RelationshipInHtmlTable(
@@ -1458,7 +1460,8 @@ export function RelationshipInHtmlTable(
1458
1460
  * ResultTable in a Queries object as an HTML <table> element, and registers a
1459
1461
  * listener so that any changes to that result will cause a re-render.
1460
1462
  *
1461
- * See the <ResultTableInHtmlTable /> demo for this component in action.
1463
+ * See the <ResultTableInHtmlTable /> (React) demo for this component in
1464
+ * action.
1462
1465
  *
1463
1466
  * The component's props identify which ResultTable to render based on query Id,
1464
1467
  * and Queries object (which is either the default context Queries object, a
@@ -1607,7 +1610,8 @@ export function ResultTableInHtmlTable(
1607
1610
  * registers a listener so that any changes to that result will cause a
1608
1611
  * re-render.
1609
1612
  *
1610
- * See the <ResultSortedTableInHtmlTable /> demo for this component in action.
1613
+ * See the <ResultSortedTableInHtmlTable /> (React) demo for this component in
1614
+ * action.
1611
1615
  *
1612
1616
  * The component's props identify which ResultTable to render based on query Id,
1613
1617
  * and Queries object (which is either the default context Queries object, a
@@ -1778,7 +1782,7 @@ export function ResultSortedTableInHtmlTable(
1778
1782
  * that can be edited in a web browser, and registers a listener so that any
1779
1783
  * changes to that result will cause a re-render.
1780
1784
  *
1781
- * See the <EditableCellView /> demo for this component in action.
1785
+ * See the <EditableCellView /> (React) demo for this component in action.
1782
1786
  *
1783
1787
  * The component's props identify which Cell to render based on Table Id, Row
1784
1788
  * Id, Cell Id, and Store (which is either the default context Store, a named
@@ -1846,7 +1850,7 @@ export function EditableCellView(
1846
1850
  * that can be edited in a web browser, and registers a listener so that any
1847
1851
  * changes to that result will cause a re-render.
1848
1852
  *
1849
- * See the <EditableValueView /> demo for this component in action.
1853
+ * See the <EditableValueView /> (React) demo for this component in action.
1850
1854
  *
1851
1855
  * The component's props identify which Value to render based on Table Id, Row
1852
1856
  * Id, Value Id, and Store (which is either the default context Store, a named
@@ -1913,7 +1917,8 @@ export function EditableValueView(
1913
1917
  /**
1914
1918
  * The SortedTablePaginator component renders a paginator for a sorted table.
1915
1919
  *
1916
- * See the <SortedTableInHtmlTable /> demo for this component in action.
1920
+ * See the <SortedTableInHtmlTable /> (React) demo for this component in
1921
+ * action.
1917
1922
  *
1918
1923
  * The component displays 'previous' and 'next' buttons for paging through the
1919
1924
  * Table if there are more Row Ids than fit in each page. The component will
@@ -5,7 +5,7 @@
5
5
  * The components in this module use the react-dom module and so are not
6
6
  * appropriate for environments like React Native (although those in the
7
7
  * lower-level ui-react module are).
8
- * @see UI Components demos
8
+ * @see UI Components (React) demos
9
9
  * @packageDocumentation
10
10
  * @module ui-react-dom
11
11
  * @since v4.1.0
@@ -672,7 +672,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
672
672
  * ): ComponentReturnType;
673
673
  * ```
674
674
  *
675
- * See the <TableInHtmlTable /> demo for this component in action.
675
+ * See the <TableInHtmlTable /> (React) demo for this component in action.
676
676
  *
677
677
  * The component's props identify which Table to render based on Table Id, and
678
678
  * Store (which is either the default context Store, a named context Store, or
@@ -822,7 +822,8 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
822
822
  * ): ComponentReturnType;
823
823
  * ```
824
824
  *
825
- * See the <SortedTableInHtmlTable /> demo for this component in action.
825
+ * See the <SortedTableInHtmlTable /> (React) demo for this component in
826
+ * action.
826
827
  *
827
828
  * The component's props identify which Table to render based on Table Id, and
828
829
  * Store (which is either the default context Store, a named context Store, or
@@ -1000,7 +1001,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1000
1001
  * ): ComponentReturnType;
1001
1002
  * ```
1002
1003
  *
1003
- * See the <ValuesInHtmlTable /> demo for this component in action.
1004
+ * See the <ValuesInHtmlTable /> (React) demo for this component in action.
1004
1005
  *
1005
1006
  * The component's props identify which Row to render based on Table Id, Row Id,
1006
1007
  * and Store (which is either the default context Store, a named context Store,
@@ -1136,7 +1137,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1136
1137
  * ): ComponentReturnType;
1137
1138
  * ```
1138
1139
  *
1139
- * See the <SliceInHtmlTable /> demo for this component in action.
1140
+ * See the <SliceInHtmlTable /> (React) demo for this component in action.
1140
1141
  *
1141
1142
  * The component's props identify which Slice to render based on Index Id, Slice
1142
1143
  * Id, and Indexes object (which is either the default context Indexes object, a
@@ -1278,7 +1279,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1278
1279
  * </table>
1279
1280
  * `;
1280
1281
  * ```
1281
- * @category Indexes components
1282
+ * @category Other components
1282
1283
  * @since v4.1.0
1283
1284
  */
1284
1285
  SliceInHtmlTable: (
@@ -1298,7 +1299,8 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1298
1299
  * ): ComponentReturnType;
1299
1300
  * ```
1300
1301
  *
1301
- * See the <RelationshipInHtmlTable /> demo for this component in action.
1302
+ * See the <RelationshipInHtmlTable /> (React) demo for this component in
1303
+ * action.
1302
1304
  *
1303
1305
  * The component's props identify which Relationship to render based on
1304
1306
  * Relationship Id and Relationships object (which is either the default context
@@ -1460,7 +1462,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1460
1462
  * </table>
1461
1463
  * `;
1462
1464
  * ```
1463
- * @category Relationships components
1465
+ * @category Other components
1464
1466
  * @since v4.1.0
1465
1467
  */
1466
1468
  RelationshipInHtmlTable: (
@@ -1480,7 +1482,8 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1480
1482
  * ): ComponentReturnType;
1481
1483
  * ```
1482
1484
  *
1483
- * See the <ResultTableInHtmlTable /> demo for this component in action.
1485
+ * See the <ResultTableInHtmlTable /> (React) demo for this component in
1486
+ * action.
1484
1487
  *
1485
1488
  * The component's props identify which ResultTable to render based on query Id,
1486
1489
  * and Queries object (which is either the default context Queries object, a
@@ -1637,7 +1640,8 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1637
1640
  * ): ComponentReturnType;
1638
1641
  * ```
1639
1642
  *
1640
- * See the <ResultSortedTableInHtmlTable /> demo for this component in action.
1643
+ * See the <ResultSortedTableInHtmlTable /> (React) demo for this component in
1644
+ * action.
1641
1645
  *
1642
1646
  * The component's props identify which ResultTable to render based on query Id,
1643
1647
  * and Queries object (which is either the default context Queries object, a
@@ -1816,7 +1820,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1816
1820
  * ): ComponentReturnType;
1817
1821
  * ```
1818
1822
  *
1819
- * See the <EditableCellView /> demo for this component in action.
1823
+ * See the <EditableCellView /> (React) demo for this component in action.
1820
1824
  *
1821
1825
  * The component's props identify which Cell to render based on Table Id, Row
1822
1826
  * Id, Cell Id, and Store (which is either the default context Store, a named
@@ -1898,7 +1902,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1898
1902
  * ): ComponentReturnType;
1899
1903
  * ```
1900
1904
  *
1901
- * See the <EditableValueView /> demo for this component in action.
1905
+ * See the <EditableValueView /> (React) demo for this component in action.
1902
1906
  *
1903
1907
  * The component's props identify which Value to render based on Table Id, Row
1904
1908
  * Id, Value Id, and Store (which is either the default context Store, a named
@@ -1965,7 +1969,8 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1965
1969
  /**
1966
1970
  * The SortedTablePaginator component renders a paginator for a sorted table.
1967
1971
  *
1968
- * See the <SortedTableInHtmlTable /> demo for this component in action.
1972
+ * See the <SortedTableInHtmlTable /> (React) demo for this component in
1973
+ * action.
1969
1974
  *
1970
1975
  * The component displays 'previous' and 'next' buttons for paging through the
1971
1976
  * Table if there are more Row Ids than fit in each page. The component will
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * The component in this module uses the react-dom module and so is not
6
6
  * appropriate for environments like React Native.
7
- * @see <Inspector /> demo
7
+ * @see <Inspector /> (React) demo
8
8
  * @packageDocumentation
9
9
  * @module ui-react-inspector
10
10
  * @since v5.0.0
@@ -44,7 +44,7 @@ export type InspectorProps = {
44
44
  * The Inspector component renders a tool which allows you to view and edit the
45
45
  * content of a Store in a debug web environment.
46
46
  *
47
- * See the <Inspector /> demo for this component in action.
47
+ * See the <Inspector /> (React) demo for this component in action.
48
48
  *
49
49
  * The component displays a nub in the corner of the screen which you may then
50
50
  * click to interact with all the Store objects in the Provider component
@@ -77,8 +77,8 @@ export type InspectorProps = {
77
77
  * const app = document.createElement('div');
78
78
  * createRoot(app).render(<App store={store} />); // !act
79
79
  * // ... // !act
80
- * console.log(app.innerHTML.substring(0, 30));
81
- * // -> '<aside id="tinybaseInspector">'
80
+ * console.log(app.querySelector('aside')?.id);
81
+ * // -> 'tinybaseInspector'
82
82
  * ```
83
83
  * @category Development components
84
84
  * @essential Using React
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * The component in this module uses the react-dom module and so is not
6
6
  * appropriate for environments like React Native.
7
- * @see <Inspector /> demo
7
+ * @see <Inspector /> (React) demo
8
8
  * @packageDocumentation
9
9
  * @module ui-react-inspector
10
10
  * @since v5.0.0
@@ -44,7 +44,7 @@ export type InspectorProps = {
44
44
  * The Inspector component renders a tool which allows you to view and edit the
45
45
  * content of a Store in a debug web environment.
46
46
  *
47
- * See the <Inspector /> demo for this component in action.
47
+ * See the <Inspector /> (React) demo for this component in action.
48
48
  *
49
49
  * The component displays a nub in the corner of the screen which you may then
50
50
  * click to interact with all the Store objects in the Provider component
@@ -77,8 +77,8 @@ export type InspectorProps = {
77
77
  * const app = document.createElement('div');
78
78
  * createRoot(app).render(<App store={store} />); // !act
79
79
  * // ... // !act
80
- * console.log(app.innerHTML.substring(0, 30));
81
- * // -> '<aside id="tinybaseInspector">'
80
+ * console.log(app.querySelector('aside')?.id);
81
+ * // -> 'tinybaseInspector'
82
82
  * ```
83
83
  * @category Development components
84
84
  * @essential Using React