Socket
Socket
Sign inDemoInstall

@entur-partner/micro-frontend

Package Overview
Dependencies
Maintainers
8
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@entur-partner/micro-frontend

This package contains micro-frontend components for Entur partner


Version published
Maintainers
8
Created
Source

Entur partner micro-frontend components

This package contains micro-frontend components for Entur partner

Installation

npm install @entur-partner/micro-frontend

# or if you are using Yarn:
yarn add @entur-partner/micro-frontend

Usage

Register a micro frontend

React:

registerMicroFrontend({
  microFrontendId: 'PermissionAdmin',
  mount: (containerId, payload) => {
    ReactDOM.render(<App {...payload} />, document.getElementById(containerId));
  },
  unmount: (containerId) => {
    ReactDOM.unmountComponentAtNode(document.getElementById(containerId));
  },
});

FAQs

Package last updated on 29 Feb 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc