React import {Component} from 'xxx' is very time consuming.

my own package, which is found to be very slow in the import process, will not execute the following class, modestly to ask for advice on the cause of the problem until the load is complete. Ps: (other packages are fine)

the environmental background of the problems and what methods you have tried

import React from "react";
import { List } from "xxx";

export default () => {
  return <List  />;
};

for some reasons, the package name has been removed, thank you for understanding.

Oct.23,2021
Menu