Recipes
Purpose
This section turns Nrgy.js concepts into practical examples.
Recipes
- Counter
- Form with Multiple Fields and Batch
- Data Loading Through a Service
- Screen ViewModel
- One Logic, Several Views
- Shared State Between Screens
- Cleanup of Long-Lived State
- DI in a ViewModel
Recipe Template
Each recipe in this section follows the same structure:
- Task
- Solution
- Code
- What to watch out for
- Common mistakes