bestofjs / javascript-risingstars

:stars: An overview of the JavaScript landscape in 2023: trends about frontend, Node.js, fullstack frameworks, build tools, testing, Vue.js, React, state management...
https://risingstars.js.org
1.02k stars 56 forks source link

Avoid using index.js for file names #9

Closed SachaG closed 6 years ago

SachaG commented 6 years ago

This is more of a personal preference, but I don't think we should name components index.js, because it makes it harder to quickly switch to them in your text editor or even do a site-wide search.

Also we should keep naming consistent, for example ProjectTableView is defined as ProjectTableView but imported as ProjectTable, again making it hard to understand the code.

michaelrambeau commented 6 years ago

Alright, no problem at all, I will fix the names every time I work on these files.

Of course feel free to rename the files you are working on, too.

SachaG commented 6 years ago

I'll let you rename them all at once to avoid too many git conflicts.