@garfish/bridge-react-v18
TypeScript icon, indicating that this package has built-in type declarations

1.19.3 • Public • Published

@garfish/bridge-react-v18

NPM version

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.

Readme

Keywords

Package Sidebar

Install

npm i @garfish/bridge-react-v18

Weekly Downloads

8

Version

1.19.3

License

MIT

Unpacked Size

21.3 kB

Total Files

6

Last publish

Collaborators

  • reothues
  • aishiguang
  • cttrevor
  • shawzhou
  • jiadi0801
  • jsongo
  • rustle
  • zengkp