@pushwoosh/single-spa 0.0.1 → 0.1.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 (2) hide show
  1. package/Parcel.js +3 -2
  2. package/package.json +1 -1
package/Parcel.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import React, { useMemo } from 'react';
2
- import singleSpa from 'single-spa';
2
+ import { mountRootParcel } from 'single-spa';
3
3
  import SingleSpaParcel from 'single-spa-react/parcel';
4
4
  export const Parcel = ({
5
5
  className,
@@ -33,6 +33,7 @@ export const Parcel = ({
33
33
  ...transferProps,
34
34
  config: parcelConfig,
35
35
  wrapClassName: className,
36
- mountParcel: singleSpa.mountRootParcel
36
+ mountParcel: mountRootParcel,
37
+ key: `${module}-${parcelFunctionName}`
37
38
  });
38
39
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/single-spa",
3
- "version": "0.0.1",
3
+ "version": "0.1.1",
4
4
  "description": "React component for build Pushwoosh products",
5
5
  "main": "index.js",
6
6
  "module": "index.js",