@umijs/renderer-react 4.3.33 → 4.3.34
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/dist/routes.js +1 -4
- package/package.json +1 -1
package/dist/routes.js
CHANGED
|
@@ -111,12 +111,9 @@ function RemoteComponentReactRouter5(props) {
|
|
|
111
111
|
route: route,
|
|
112
112
|
routes: clientRoutes
|
|
113
113
|
};
|
|
114
|
-
var Remote = function Remote() {
|
|
115
|
-
return /*#__PURE__*/React.createElement(Component, ComponentProps, props.hasChildren && /*#__PURE__*/React.createElement(Outlet, null));
|
|
116
|
-
};
|
|
117
114
|
return props.useStream ? /*#__PURE__*/React.createElement(React.Suspense, {
|
|
118
115
|
fallback: /*#__PURE__*/React.createElement(props.loadingComponent, null)
|
|
119
|
-
}, /*#__PURE__*/React.createElement(
|
|
116
|
+
}, /*#__PURE__*/React.createElement(Component, ComponentProps, props.hasChildren && /*#__PURE__*/React.createElement(Outlet, null))) : /*#__PURE__*/React.createElement(Component, ComponentProps, props.hasChildren && /*#__PURE__*/React.createElement(Outlet, null));
|
|
120
117
|
}
|
|
121
118
|
function RemoteComponent(props) {
|
|
122
119
|
var Component = props.loader;
|
package/package.json
CHANGED