We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9023bf5 commit 0e67d2eCopy full SHA for 0e67d2e
src/backend/models/masterState.ts
@@ -44,4 +44,10 @@ export default {
44
*/
45
getComponentByIndexHooks: (inputIndex: Array<number> = []): any[] | undefined =>
46
inputIndex.map((index) => componentActionsRecord[index]),
47
+ // ----------------------------------DEBUGGING--------------------------------
48
+ /**
49
+ * This method is used for debugging purpose to access the array of setState/dispatch methods
50
+ * @returns - an array of objects containing the bound methods for updating state
51
+ */
52
+ getAllComponents: (): any[] => componentActionsRecord,
53
};
0 commit comments