Recipes
Code-first answers to common problems. Each recipe is a self-contained snippet. Copy, adapt, move on. No mechanics explanations. For those, see the Guides.
Index
- Form input bound to state — two-way binding via signal getters and setters.
- Persistent state across hide/show — surviving component unmounts by moving state to a service.
- Sharing services scoped to a tree — one service across multiple components, scoped by an
<Injector>. - Provider override for a sub-tree — nested
<Injector>for theming or feature flags.