I'm working on an existing React Native app that has a lot of imports that aren't used. I'm wondering if it's worth combing through and removing all un-used imports. Does leaving them there affect performance?
even i used to think the same before. but after a lot of concerns mentioned by my seniors , i actually got to know that yes. it matters a lot.
You can add this extension to check the import cost for each file or external library .
Its always better to remove unnecassary imports . I found a great shortcut in mac . option+shift+o it deletes all the unused imports