diff --git a/README.md b/README.md index a8f6084..3b97d5b 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [日本語版](README_jp.md) -A type-safe state management library for SwiftUI applications. Flow provides a unidirectional data flow architecture with full support for Swift 6 Approachable Concurrency. +A type-safe state management library for SwiftUI applications. Flow provides a unidirectional data flow architecture and supports Swift 6 Approachable Concurrency.
diff --git a/Sources/Flow/Flow.docc/CoreConcepts.md b/Sources/Flow/Flow.docc/CoreConcepts.md
index 12e3937..9b41b80 100644
--- a/Sources/Flow/Flow.docc/CoreConcepts.md
+++ b/Sources/Flow/Flow.docc/CoreConcepts.md
@@ -8,7 +8,7 @@ This guide explains Flow's design philosophy and key features. You'll learn abou
## Unidirectional Data Flow
-Flow adopts unidirectional data flow. All state changes occur through actions, making it easy to track how state evolves.
+Flow adopts unidirectional data flow. All state changes occur through actions, allowing you to track how state evolves.

@@ -47,12 +47,12 @@ struct CounterView: View {
}
```
-- State scope is clear (same lifecycle as the view)
-- No need to manage global state
+- State scope matches the view lifecycle
+- Reduces the need to manage global state
### Result-Returning Actions
-Actions can return results through `ActionTask`. The result type (`ActionResult`) can be freely defined for each Feature.
+Actions can return results through `ActionTask`. The result type (`ActionResult`) can be defined for each Feature.
In this example, a child view returns a selection result to the parent, which handles navigation:
@@ -121,7 +121,7 @@ This implementation provides:
- `ChildFeature` returns selection results to the parent via `ActionResult`
- `ParentView` receives results through the `onSelect` callback
- Parent controls side effects like navigation
-- Everything stays within the view tree, making dependencies easy to track
+- Everything stays within the view tree, allowing dependencies to be tracked
See