Przejdź do treści

Style Guide

Naming Conventions

Components: BudgetListComponent Services: BudgetService State: BudgetState Actions: LoadBudgets

File Structure

feature/
├── components/
├── services/
├── state/
├── models/
└── index.ts  # Public API

TypeScript

  • Strict mode enabled
  • No any (use unknown)
  • Interfaces for data models

Angular

  • OnPush change detection where possible
  • TrackBy for ngFor
  • Async pipe w template

Dalsze zasoby