@module-federation/bridge-react
Advanced tools
Comparing version 0.0.0-next-20241002194835 to 0.0.0-next-20241008081103
# @module-federation/bridge-react | ||
## 0.0.0-next-20241002194835 | ||
## 0.0.0-next-20241008081103 | ||
### Patch Changes | ||
- @module-federation/bridge-shared@0.0.0-next-20241002194835 | ||
- 8a77291: fix(bridge-react): add default basename for WraperRouterProvider | ||
- @module-federation/bridge-shared@0.0.0-next-20241008081103 | ||
## 0.6.9 | ||
### Patch Changes | ||
- @module-federation/bridge-shared@0.6.9 | ||
## 0.6.8 | ||
@@ -10,0 +17,0 @@ |
@@ -180,3 +180,3 @@ "use strict"; | ||
}; | ||
RemoteApp2["__APP_VERSION__"] = "0.6.8"; | ||
RemoteApp2["__APP_VERSION__"] = "0.6.9"; | ||
return /* @__PURE__ */ React.createElement(RemoteApp2, null); | ||
@@ -183,0 +183,0 @@ }); |
@@ -161,3 +161,3 @@ import * as React from "react"; | ||
}; | ||
RemoteApp2["__APP_VERSION__"] = "0.6.8"; | ||
RemoteApp2["__APP_VERSION__"] = "0.6.9"; | ||
return /* @__PURE__ */ React__default.createElement(RemoteApp2, null); | ||
@@ -164,0 +164,0 @@ }); |
@@ -68,3 +68,4 @@ "use strict"; | ||
const BrowserRouterInstance = createBrowserRouter(routers, { | ||
basename: routerContextProps.basename, | ||
// In host app, the routerContextProps is {}, so we should use router.basename as fallback | ||
basename: routerContextProps.basename || router.basename, | ||
future: router.future, | ||
@@ -71,0 +72,0 @@ window: router.window |
@@ -50,3 +50,4 @@ import React__default, { useContext } from "react"; | ||
const BrowserRouterInstance = createBrowserRouter(routers, { | ||
basename: routerContextProps.basename, | ||
// In host app, the routerContextProps is {}, so we should use router.basename as fallback | ||
basename: routerContextProps.basename || router.basename, | ||
future: router.future, | ||
@@ -53,0 +54,0 @@ window: router.window |
{ | ||
"name": "@module-federation/bridge-react", | ||
"version": "0.0.0-next-20241002194835", | ||
"version": "0.0.0-next-20241008081103", | ||
"publishConfig": { | ||
@@ -38,3 +38,3 @@ "access": "public" | ||
"react-error-boundary": "^4.0.13", | ||
"@module-federation/bridge-shared": "0.0.0-next-20241002194835" | ||
"@module-federation/bridge-shared": "0.0.0-next-20241008081103" | ||
}, | ||
@@ -41,0 +41,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
88756
2372
76
415
+ Added@module-federation/bridge-shared@0.0.0-next-20241008081103(transitive)
- Removed@module-federation/bridge-shared@0.0.0-next-20241002194835(transitive)
Updated@module-federation/bridge-shared@0.0.0-next-20241008081103