I'm a beginner in the new Javascript world and would like to know the difference between
import { MessageBar } from "office-ui-fabric-react";
import { MessageBar } from "office-ui-fabric-react/lib-commonjs/MessageBar";
Both of them seem to work fine. I'm using webpack for creating final JS files. What is the recommended way to import components?
question from:https://stackoverflow.com/questions/65950049/fluent-ui-best-way-to-import-components