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 07f8517 commit 1394883Copy full SHA for 1394883
src/LiveComponent/assets/src/Component/ValueStore.ts
@@ -6,7 +6,6 @@ export default class {
6
private props: any = {};
7
private data: any = {};
8
9
- // TODO: consider removing props from ValueStore & component: only leaving in live_controller
10
constructor(props: any, data: any) {
11
this.props = props;
12
this.data = data;
@@ -53,7 +52,13 @@ export default class {
53
52
return { ...this.props, ...this.data };
54
}
55
+ /**
56
+ * Set the data to a fresh set from the server.
57
+ *
58
+ * @param data
59
+ */
60
reinitializeData(data: any): void {
61
+ this.updatedModels = [];
62
63
64
0 commit comments