For 2 years now, my team at work has adopted the practice of organizing React files in a very organized way. Here's one small example:
- src
- components
- basic
- Button
- Button.tsx
- Button.module.scss
- Button.test.ts
- index.ts
- Button
- basic
- components
We've been calling the Button folder above a "bundle" or "React component bundle" but in conversation with some folks today, they said they had not heard this team in this context before.
Is there a better term that many use?
Robert