Home > front end >  Only install certain components of React Material UI
Only install certain components of React Material UI

Time:01-18

Is there a way to only install certain components of React Material UI. Especially the AutComplete component?

CodePudding user response:

More than "Installing", what you are looking for seems to be only adding the components you use to your final bundle when your app is built, otherwise known as Treeshaking.

There's a guide in the documentation about this that might help you out.

https://mui.com/material-ui/guides/minimizing-bundle-size/

  • Related