Angular flash cards: Freelancer level
20 Angular terms at the Freelancer level, as flash cards.
Updated
Terms in this deck
- Async Validator
- A form rule that checks a value asynchronously, such as with a server call.
- Change Detection
- How Angular works out which parts of the page to redraw after a change.
- Component Harness
- A test helper that interacts with a component like a user, hiding its inner HTML.
- Custom Validator
- Your own form rule: returns null when valid or an error object when not.
- Hierarchical Injector
- Angular's layered injectors: app, route and component, each able to provide its own copy.
- Hydration
- Angular taking over server-rendered HTML in the browser without redrawing it.
- Injection Token
- A key for injecting values that aren't classes, like settings.
- linkedSignal()
- A writable signal that resets when a source signal changes.
- NgModule
- The older way of grouping Angular pieces and their dependencies; replaced by standalone components.
- OnPush
- A setting that re-checks a component only when its inputs, events or signals change.
- Resolver
- A function that loads data before a route opens.
- resource()
- Loads async data into signals, with loading and error states, and reloads on change.
- RxJS Operators
- Functions chained with `pipe()` to transform an Observable stream.
- Server-Side Rendering
- Building the page HTML on the server so content shows before the JavaScript loads.
- Subject
- An Observable you can push values into yourself.
- switchMap
- An operator that switches to a new Observable for each value, cancelling the previous one.
- TestBed
- Angular's test helper that builds a small app environment for a component under test.
- toSignal()
- Turns an Observable into a signal.
- Zone.js
- A library older Angular apps use to trigger change detection after async work.
- Zoneless Angular
- Running Angular without Zone.js, relying on signals and events to trigger updates.