@@ -83,13 +83,14 @@ Use it with `fetch`, Axios or other data fetching libraries, even GraphQL.
83
83
84
84
## Rationale
85
85
86
- React Async is different in that it tries to resolve data as close as possible to where it will be used, while using a
86
+ React Async is different in that it tries to resolve data as close as possible to where it will be used, while using
87
87
declarative syntax, using just JSX and native promises. This is in contrast to systems like Redux where you would
88
88
configure any data fetching or updates on a higher (application global) level, using a special construct
89
89
(actions/reducers).
90
90
91
- React Async works really well even in larger applications with multiple or nested data dependencies. It encourages loading
92
- data on-demand and in parallel at component level instead of in bulk at the route / page level. It's entirely decoupled
91
+ React Async works well even in larger applications with multiple or nested data dependencies. It encourages loading
92
+ data on-demand and in parallel at component level instead of in bulk at the route/
93
+ page level. It's entirely decoupled
93
94
from your routes, so it works well in complex applications that have a dynamic routing model or don't use routes at all.
94
95
95
96
React Async is promise-based, so you can resolve anything you want, not just ` fetch ` requests.
@@ -102,8 +103,8 @@ a cache. It can render a fallback UI while loading data, much like `<Async.Loadi
102
103
103
104
React Async has no direct relation to Concurrent React. They are conceptually close, but not the same. React Async is
104
105
meant to make dealing with asynchronous business logic easier. Concurrent React will make those features have less
105
- impact on performance and usability. When Suspense lands, React Async will make full use of Suspense features. In fact
106
- you can already ** start using React Async right now** , and in a later update you'll ** get Suspense features for free** .
106
+ impact on performance and usability. When Suspense lands, React Async will make full use of Suspense features. In fact,
107
+ you can already ** start using React Async right now** , and in a later update, you'll ** get Suspense features for free** .
107
108
108
109
[ concurrent react ] : https://github.com/sw-yx/fresh-concurrent-react/blob/master/Intro.md#introduction-what-is-concurrent-react
109
110
0 commit comments