What code comments can teach us about scaling a codebase
Kent C. Dodds

What about concept of replace index.js with the same name as folder for example in datepicker/ you will have datepicker.js and package.json with “main” : “./datepicker.js”. Why do this? I found really frustrating to have open in IDE 10 tabs where 8 of them are called index.js. I know that IDE in this situation prefix name of tabs with nameOfFolder/index.js but in lack of space this nameOfFolder will be trimmed or other freaky situation can occur — it simply look awful.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.