Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

@garfish/bridge-react

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@garfish/bridge-react

garfish module.


Version published
Weekly downloads
14
decreased by-73.08%
Maintainers
8
Weekly downloads
 
Created

@garfish/bridge-react

NPM version

Usage

// child app
import { reactBridge } from '@garfish/bridge-react';
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.

FAQs

Package last updated on 23 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts