Javascript Conventions: Avoid import/export from index.js on Application modules

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

I agree, I used to create React components this way, later I realized the problem on doing that using index files. I think, it results in a more readable code and it also helps us to be more explicit in the way that we import packages.

betoruizdev
Автор

Furthermore, when you need to navigate through files, it's very annoying having to go also throw index files with additional imports and exports.

august
welcome to shbcf.ru