Frontend architecture — when to use what
Frontend architecture cheat sheet. Use cases → not trends
There is no "best" frontend architecture. Only trade-offs. Only context.
Use when:
- Small–medium team
- One product
- Shared release cycle
Avoid when:
- Many independent teams
- Frequent parallel changes
Use when:
- SEO matters
- First load is critical
- Content-heavy apps
Trade-off: More backend complexity
Use when:
- Multiple autonomous teams
- Independent deployments
- Clear domain boundaries
Avoid when:
- Org is still centralized
- Teams share ownership
Use when:
- Runtime integration is required
- Teams ship independently
- Shared contracts are stable
Trade-off: Debugging & versioning complexity
Use when:
- Release coordination is acceptable
- You want simpler runtime behavior
Trade-off: Less team autonomy
Use when:
- Cross-framework integration
- Embeddable widgets
- Platform teams
Trade-off: Tooling & DX gaps
Use when:
- Multiple clients
- Frontend-specific data needs
Avoid when: It becomes a shared backend again
Architecture should scale teams before it scales traffic.