Prefer modular auto imports over destructuring in vscode auto imports react

Viewed 135

I am trying to get auto imports like this in vscode

import Button from '@mui/material/Button'

instead of:

import {Button} from '@mui/material'

because as you might know, the second one slows down vscode.

Button auto import

Here you can see it is auto importing it, but making a destructuring of @mui/material

0 Answers
Related