In some projects I'll have 7 tabs open and six of them are labeled index.js
. This can get super confusing.
So, instead of:
src/containers/UserContainer/index.js
Have index.js export a UserContainer
src/containers/UserContainer/index.js
src/containers/UserContainer/UserContainer.js
This way UserContainer.js
will show up in the tab name instead of the ambiguous index.js
.