Skip to content

Commit 219350c

Browse files
committed
docs: Add explanation of state management in Blazor to README
1 parent 430e047 commit 219350c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@
2828

2929
---
3030

31+
## What is State Management?
32+
33+
In Blazor applications, "state" is any data your app needs to remember—user input, fetched data, UI flags like "is loading" or "is sidebar open." Without a state management library, you end up passing data through component parameters, juggling `EventCallback` chains, or scattering state across services. This quickly becomes hard to track and debug. A state management library gives you a single source of truth: one place where state lives, one way to update it, and automatic notifications to any component that cares. Think of it as a central database for your UI that keeps everything in sync.
34+
35+
---
36+
3137
## Why This Library?
3238

3339
No actions. No reducers. No dispatchers. Just C# records with pure methods.

0 commit comments

Comments
 (0)