Skip to content

Commit be7c4d5

Browse files
committed
Update README
1 parent c9e094d commit be7c4d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<h1 align="center">SwiftUI Atom Properties</h1>
2-
<p align="center">A Reactive Data-Binding and Dependency Injection Library </br>for SwiftUI x Concurrency</p>
2+
<p align="center">A Reactive Data-Binding and Dependency Injection Library</br>for SwiftUI x Concurrency</p>
33
<p align="center"><a href="https://ra1028.github.io/swiftui-atom-properties/documentation/atoms">📔 API Reference</a></p>
44
<p align="center">
55
<a href="https://github.com/ra1028/swiftui-atom-properties/actions"><img alt="build" src="https://github.com/ra1028/swiftui-atom-properties/workflows/test/badge.svg"></a>
@@ -43,7 +43,7 @@
4343

4444
|Reactive Data Binding|Effective Data Caching|Compile Safe<br>Dependency Injection|
4545
|:------------------------|:----------------|:--------------------------------|
46-
|Piece of value that can be accessed from anywhere propagates changes reactively.|Recompute atom value and views only when truly need, otherwise it caches values until no longer used.|Successful compilation guarantees that dependency injection is ready.|
46+
|Piece of app data that can be accessed from anywhere propagates changes reactively.|Recompute atom data and views only when truly need, otherwise it caches data until no longer used.|Successful compilation guarantees that dependency injection is ready.|
4747

4848
</p>
4949

@@ -399,7 +399,7 @@ struct ExampleApp: App {
399399

400400
### Atoms
401401

402-
An atom represents a piece of state and is the source of truth for your app. It can also represent a derived value by combining and transforming one or more other atoms.
402+
An atom represents a piece of state and is the source of truth for your app. It can also represent a derived data by combining and transforming one or more other atoms.
403403
Each atom does not actually have a global data inside, and retrieve values from the internal store provided by the `AtomRoot`. That's why *they can be accessed from anywhere, but never lose testability.*
404404

405405
An atom and its value are associated using a unique `key` which is automatically defined if the atom conforms to `Hashable`, but you can also define it explicitly without Hashable.
@@ -447,7 +447,7 @@ struct LocaleView: View {
447447
|:----------|:----------|
448448
|Summary |Provides a read-only value.|
449449
|Output |`T`|
450-
|Use Case |Computed property, Derived value, Dependency injection|
450+
|Use Case |Computed property, Derived data, Dependency injection|
451451

452452
#### [StateAtom](https://ra1028.github.io/swiftui-atom-properties/documentation/atoms/stateatom)
453453

0 commit comments

Comments
 (0)