Skip to content

Commit

Permalink
Fix a couple small typos (dotnet-presentations#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenTCramer authored and rynowak committed Apr 28, 2019
1 parent a14dbef commit 1854cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/04-refactor-state-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ You might have noticed this already, but our application has a bug! Since we're

## A solution

We're going to fix this bug by introducing something we've dubbed the *AppState pattern*. The basics are that you want to add an object to the DI container that you will use to coordinate state between related components. Bacause the *AppState* object is managed by the DI container, it can outlive the components and hold on to state even when the UI is changing a lot. Another benefit of the *AppState pattern* is that it leads to greater separation between presentation (components) and logic.
We're going to fix this bug by introducing something we've dubbed the *AppState pattern*. The basics are that you want to add an object to the DI container that you will use to coordinate state between related components. Because the *AppState* object is managed by the DI container, it can outlive the components and hold on to state even when the UI is changing a lot. Another benefit of the *AppState pattern* is that it leads to greater separation between presentation (components) and logic

## Getting started

Expand Down

0 comments on commit 1854cdf

Please sign in to comment.