Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
clragon committed Jul 26, 2023
1 parent 9bba0b5 commit cce2f1d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ The approach of SubProvider is preferable for several reasons:

## Principles

`flutter_sub_provider` uses `flutter_sub`'s concept of a Sub, a compact versions of StatefulWidgets that create, update, and dispose of a value,
and combines it with `provider` to create SubProviders.
`flutter_sub_provider` uses `flutter_sub`'s concept of a Sub, a shortcut to a StatefulWidget, and combines it with `provider` to create SubProviders.

SubProviders extend the corresponding Provider type and add the ability to handle changing dependencies.
When a dependency updates, the SubProvider fully recreates its managed object, ensuring that it always operates on the latest dependencies.
Expand Down

0 comments on commit cce2f1d

Please sign in to comment.