Skip to content

Commit

Permalink
Update formatting in README (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanekay authored Feb 23, 2024
1 parent 790f1ef commit 35772f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ This new section will help users understand how to use Verge with SwiftUI, allow

**StoreObject** property wrapper:

SwiftUI provides the @StateObject property wrapper to create and manage a persistent instance of a given object that adheres to the ObservableObject protocol. However, StateObject will cause the view to be refreshed whenever the ObservableObject is updated.
SwiftUI provides the `@StateObject` property wrapper to create and manage a persistent instance of a given object that adheres to the ObservableObject protocol. However, StateObject will cause the view to be refreshed whenever the ObservableObject is updated.

In Verge, we introduce the StoreObject property wrapper, which instantiates a Store object for the duration of the view's lifecycle but does not cause the view to refresh when the Store updates.

Expand Down

0 comments on commit 35772f6

Please sign in to comment.