0👍
✅
This should be a matter of preference.
It won’t have a noticeable impact on performance as the build process handles these multiple imports.
If you chose to import locally you will see where things come from… Otherwise on larger codebase it could lead to a lot of confusion.
Another thing is if you decide to make async component import. If the imports are only used in the dynamically imported component they should come with it’s chunk, otherwise if they get imported in more than one component local importing would mean code duplication…
I hope I was helpful.
Source:stackexchange.com