@plasmicapp/react-web 0.2.359 → 0.2.360

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicapp/react-web",
3
- "version": "0.2.359",
3
+ "version": "0.2.360",
4
4
  "description": "plasmic library for rendering in the presentational style",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
@@ -168,5 +168,5 @@
168
168
  "react": ">=16.8.0",
169
169
  "react-dom": ">=16.8.0"
170
170
  },
171
- "gitHead": "53a85fd08ce84bfb2ed052a7ed9a662ad15bf8e8"
171
+ "gitHead": "16f19a3d4445fc28f1021baa2985dab3d3053abe"
172
172
  }
@@ -1151,7 +1151,9 @@ function create$StateProxy($$state, leafHandlers) {
1151
1151
  // We need to call the onChangeProp during initialization process so that the parent
1152
1152
  // state can be updated with the correct value. We will provide an addtionnal parameter
1153
1153
  // to the onChangeProp function to indicate that the call is made during initialization.
1154
- (_d = (_c = $$state.env.$props)[nextSpec.onChangeProp]) === null || _d === void 0 ? void 0 : _d.call(_c, value, isInitOnChange);
1154
+ (_d = (_c = $$state.env.$props)[nextSpec.onChangeProp]) === null || _d === void 0 ? void 0 : _d.call(_c, value, {
1155
+ _plasmic_state_init_: isInitOnChange,
1156
+ });
1155
1157
  if (isInitOnChange) {
1156
1158
  $$state.initializedLeafPaths.add(pathKey);
1157
1159
  }