@garfish/bridge-react-v18
v1.19.3
Published
garfish module.
Downloads
264
Readme
@garfish/bridge-react-v18
Usage
// child app
import { reactBridge } from '@garfish/bridge-react-v18';
function App() {
return <div>content</div>;
}
export const provider = reactBridge({
el: '#root',
rootComponent: App,
});
Contributing
Credit
- single-spa for community raised a hot wave of micro front-end solutions, and we refer to the implementation of the bridge part in single-spa and we think it is a good design, so we fork the code of the bridge implementation part and make some adjustments for the lifecycles in Garfish.