Which JavaScript import
syntax allows for tree shaking (preferably backwards compatible)?
1.
import Button from '@mui/material/Button'
import TextField from '@mui/material/TextField'
import {Button, TextField} from '@mui/material/'
import * from '@mui/material/'
- All of the above
Edit:
The real answer is in the comments section of the marked correct answer.