@ice/mf-runtime 0.0.10 → 0.0.11

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.
@@ -48,6 +48,11 @@ export const RemoteModule = ({ module, scope, runtime, publicPath, LoadingCompon
48
48
  const ErrorFallback = ({ error })=>ErrorComponent || /*#__PURE__*/ React.createElement("div", null, "远程模块加载失败: ", error.message);
49
49
  if (!Component) return Loading;
50
50
  return /*#__PURE__*/ React.createElement(ErrorBoundary, {
51
+ resetKeys: [
52
+ module,
53
+ scope,
54
+ publicPath
55
+ ],
51
56
  FallbackComponent: ErrorFallback,
52
57
  onError: onError
53
58
  }, /*#__PURE__*/ React.createElement(React.Suspense, {
@@ -77,6 +77,11 @@ export var RemoteModule = function(param) {
77
77
  };
78
78
  if (!Component) return Loading;
79
79
  return /*#__PURE__*/ React.createElement(ErrorBoundary, {
80
+ resetKeys: [
81
+ module,
82
+ scope,
83
+ publicPath
84
+ ],
80
85
  FallbackComponent: ErrorFallback,
81
86
  onError: onError
82
87
  }, /*#__PURE__*/ React.createElement(React.Suspense, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ice/mf-runtime",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "description": "ice mf runtime",
5
5
  "files": [
6
6
  "esm",