abesto / ams2-career

https://ams2-career.abesto.net
The Unlicense
6 stars 1 forks source link

Simplify imports #39

Closed abesto closed 2 years ago

abesto commented 2 years ago

https://mui.com/material-ui/guides/minimizing-bundle-size/ says recent build systems support tree shaking, so we should be able to

import { Button, TextField } from '@mui/material';

instead of

import Button from '@mui/material/Button';
import TextField from '@mui/material/TextField';