You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which can avoid duplicates in developer's bundle when they start to do fancy stuff, like importing from @material-ui/x and @material-ui/x-tree-view at the same time.
The text was updated successfully, but these errors were encountered:
In its current form, the released packages bundle code instead of relying on a nested dependency tree.
For instance:
@material-ui/x
package bundles@material-ui/x-license & @material-ui/x-grid & @material-ui/x-tree-view
@material-ui/x-grid
package bundles@material-ui/x-grid & @material-ui/x-license
@material-ui/x-tree-view
package bundles@material-ui/x-tree-view & @material-ui/x-license
I can't help myself asking, wouldn't it be better to leverage transitive dependencies? In this mode, we would get this tree structure:
Which can avoid duplicates in developer's bundle when they start to do fancy stuff, like importing from @material-ui/x and @material-ui/x-tree-view at the same time.
The text was updated successfully, but these errors were encountered: