New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@mibjs/plugin-mf

Package Overview
Dependencies
Maintainers
0
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mibjs/plugin-mf

@mibjs/plugin-mf

latest
npmnpm
Version
2.10.2
Version published
Maintainers
0
Created
Source

@mibjs/plugin-mf

@mibjs/plugin-mf.

Install

Using npm:

$ npm install --save-dev @mibjs/plugin-mf

or using yarn:

$ yarn add @mibjs/plugin-mf --dev

Useage

Example

app.tsx

const SSORightContent = React.lazy(() => import('sso/RightContent'));

const RightContent = (props: any) => (
  <React.Suspense fallback="Loading...">
    <SSORightContent {...props} />
  </React.Suspense>
);

export const layout: RunTimeLayoutConfig = ({
  initialState,
  setInitialState,
}) => {
  return {
    rightContentRender: () => (
      <RightContent
        history={history}
        initialState={initialState}
        setInitialState={setInitialState}
      />
    ),
  };
};

typing.d.ts

declare module 'sso/*';

Keywords

umi

FAQs

Package last updated on 04 Sep 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