Why 101
Reusable,
Easy to read,
Less mistakes
One component per file -
- Easier to read, maintain, and avoid collisions with teams in source control.
- Avoids hidden bugs when combining components - share variables, create unwanted closures, coupling with dependencies.
- default export for its file - lazy loading with the router.