The Naming Convention That Will Save Your App
· 15 min read
TLDR:

In large frontend apps, inconsistent naming turns every change into a hunt. This guide shows proven JavaScript/TypeScript and component naming practices, explains BEM and modern CSS naming approaches, and then introduces Feature-Sliced Design’s Layer–Slice–Segment convention—so your folder structure and public APIs make boundaries obvious, reduce coupling, and keep the codebase maintainable as your team grows.
