Appearance
Examples
These examples demonstrate how to use Nexus State in various scenarios.
Basic Examples
- Counter - A simple counter implementation with increment/decrement/reset
- Todo List - A todo list application with add/toggle/remove
Advanced Examples
- Forms - Form handling with validation
- Async Data - Handling asynchronous data
React-Specific Examples
Computed Atoms - See the Computed Atoms Demo in the repository for examples of:
- Form with real-time validation
- Selective updates (components only re-render when their atoms change)
- Multiple computed values from the same source
- Form batch updates
- Render counters to demonstrate selective updates
DevTools Integration - See the DevTools Demo App for:
- State inspection
- Time-travel debugging
- Action tracking
- Stack traces
Recipe Examples
- DevTools Integration - Complete guide to debugging with DevTools
- Forms with Validation - Advanced form handling
- Async Atoms - Handling async data
- Caching - Caching strategies