|
15 | 15 | <img src="https://img.shields.io/bundlephobia/min/react-async.svg" alt="minified size">
|
16 | 16 | </a>
|
17 | 17 | <a href="https://travis-ci.org/ghengeveld/react-async">
|
18 |
| - <img src="https://img.shields.io/travis/ghengeveld/react-async.svg" alt="build status"> |
| 18 | + <img src="https://img.shields.io/travis/ghengeveld/react-async/master.svg" alt="build status"> |
19 | 19 | </a>
|
20 | 20 | <a href="https://codecov.io/github/ghengeveld/react-async">
|
21 |
| - <img src="https://img.shields.io/codecov/c/github/ghengeveld/react-async.svg" alt="code coverage"> |
| 21 | + <img src="https://img.shields.io/codecov/c/github/ghengeveld/react-async/master.svg" alt="code coverage"> |
22 | 22 | </a>
|
23 | 23 | <a href="https://opensource.org/licenses/ISC">
|
24 | 24 | <img src="https://img.shields.io/npm/l/react-async.svg" alt="license">
|
@@ -63,6 +63,19 @@ from your routes, so it works well in complex applications that have a dynamic r
|
63 | 63 |
|
64 | 64 | React Async is promise-based, so you can resolve anything you want, not just `fetch` requests.
|
65 | 65 |
|
| 66 | +## Concurrent React and Suspense |
| 67 | + |
| 68 | +The React team is currently working on a large rewrite called [Concurrent React], previously known as "Async React". |
| 69 | +Part of this rewrite is Suspense, which is a generic way for components to suspend rendering while they load data from |
| 70 | +a cache. It can render a fallback UI while loading data, much like `<Async.Loading>`. |
| 71 | + |
| 72 | +React Async has no direct relation to Concurrent React. They are conceptually close, but not the same. React Async is |
| 73 | +meant to make dealing with asynchronous business logic easier. Concurrent React will make those features have less |
| 74 | +impact on performance and usability. When Suspense lands, React Async will make full use of Suspense features. In fact |
| 75 | +you can already **start using React Async right now**, and in a later update you'll **get Suspense features for free**. |
| 76 | + |
| 77 | +[concurrent react]: https://github.com/sw-yx/fresh-concurrent-react/blob/master/Intro.md#introduction-what-is-concurrent-react |
| 78 | + |
66 | 79 | ## Install
|
67 | 80 |
|
68 | 81 | ```
|
|
0 commit comments