1
1
<p align =" center " >
2
- <a href =" https://react-async.dev " ><img src =" https://raw.githubusercontent.com/ghengeveld /react-async/HEAD/react-async.png " width =" 520 " alt =" React Async " /></a ><br />
2
+ <a href =" https://react-async.dev " ><img src =" https://raw.githubusercontent.com/async-library /react-async/HEAD/react-async.png " width =" 520 " alt =" React Async " /></a ><br />
3
3
Handle promises with ease.
4
4
</p >
5
5
<br />
18
18
<img src="https://badgen.net/npm/license/react-async" alt="license">
19
19
</a >
20
20
<br />
21
- <a href =" https://github.com/ghengeveld /react-async/issues " >
22
- <img src="https://badgen.net/github/open-issues/ghengeveld /react-async?icon=github" alt="issues">
21
+ <a href =" https://github.com/async-library /react-async/issues " >
22
+ <img src="https://badgen.net/github/open-issues/async-library /react-async?icon=github" alt="issues">
23
23
</a >
24
- <a href =" https://github.com/ghengeveld /react-async/pulls " >
25
- <img src="https://badgen.net/github/open-prs/ghengeveld /react-async?icon=github" alt="pull requests">
24
+ <a href =" https://github.com/async-library /react-async/pulls " >
25
+ <img src="https://badgen.net/github/open-prs/async-library /react-async?icon=github" alt="pull requests">
26
26
</a >
27
- <a href =" https://github.com/ghengeveld /react-async/releases " >
28
- <img src="https://badgen.net/github/releases/ghengeveld /react-async?icon=github" alt="releases">
27
+ <a href =" https://github.com/async-library /react-async/releases " >
28
+ <img src="https://badgen.net/github/releases/async-library /react-async?icon=github" alt="releases">
29
29
</a >
30
- <a href =" https://github.com/ghengeveld /react-async/graphs/contributors " >
31
- <img src="https://badgen.net/github/contributors/ghengeveld /react-async?icon=github" alt="contributors">
30
+ <a href =" https://github.com/async-library /react-async/graphs/contributors " >
31
+ <img src="https://badgen.net/github/contributors/async-library /react-async?icon=github" alt="contributors">
32
32
</a >
33
+ <<<<<<< HEAD
34
+ =======
35
+ <a href =" https://react-async.async-library.now.sh/examples/ " >
36
+ <img src="https://badgen.net/badge/live%20examples/available/pink?icon=now" alt="live examples">
37
+ </a >
38
+ >>>>>>> Transferred ownership of the repo to async-library.
33
39
<br/>
34
- <a href =" https://circleci.com/gh/ghengeveld /react-async " >
35
- <img src="https://badgen.net/circleci/github/ghengeveld /react-async/master?icon=circleci" alt="circleci status">
40
+ <a href="https://circleci.com/gh/async-library /react-async">
41
+ <img src="https://badgen.net/circleci/github/async-library /react-async/master?icon=circleci" alt="circleci status">
36
42
</a>
37
- <a href =" https://travis-ci.com/ghengeveld /react-async " >
38
- <img src="https://badgen.net/travis/ghengeveld /react-async?icon=travis" alt="travis status">
43
+ <a href="https://travis-ci.com/async-library /react-async">
44
+ <img src="https://badgen.net/travis/async-library /react-async?icon=travis" alt="travis status">
39
45
</a>
40
- <a href =" https://codecov.io/gh/ghengeveld /react-async " >
41
- <img src="https://badgen.net/codecov/c/github/ghengeveld /react-async/master?icon=codecov" alt="code coverage">
46
+ <a href="https://codecov.io/gh/async-library /react-async">
47
+ <img src="https://badgen.net/codecov/c/github/async-library /react-async/master?icon=codecov" alt="code coverage">
42
48
</a>
43
- <a href =" https://www.codefactor.io/repository/github/ghengeveld /react-async " >
44
- <img src="https://www.codefactor.io/repository/github/ghengeveld /react-async/badge" alt="code quality">
49
+ <a href="https://www.codefactor.io/repository/github/async-library /react-async">
50
+ <img src="https://www.codefactor.io/repository/github/async-library /react-async/badge" alt="code quality">
45
51
</a>
46
52
<a href="https://deepscan.io/dashboard#view=project&tid=5147&pid=6925&bid=61474">
47
53
<img src="https://deepscan.io/api/teams/5147/projects/6925/branches/61474/badge/grade.svg" alt="DeepScan grade">
48
54
</a>
49
55
<br/>
50
- <img src =" https://badgen.net/david/dep/ghengeveld /react-async/packages/react-async " alt =" dependencies " >
51
- <img src =" https://badgen.net/david/dev/ghengeveld /react-async " alt =" devDependencies " >
52
- <img src =" https://badgen.net/david/peer/ghengeveld /react-async/packages/react-async " alt =" peerDependencies " >
56
+ <img src="https://badgen.net/david/dep/async-library /react-async/packages/react-async" alt="dependencies">
57
+ <img src="https://badgen.net/david/dev/async-library /react-async" alt="devDependencies">
58
+ <img src="https://badgen.net/david/peer/async-library /react-async/packages/react-async" alt="peerDependencies">
53
59
<br/>
54
60
<a href="https://discord.gg/CAYQ6mU">
55
61
<img src="https://img.shields.io/badge/discord-join-7289DA.svg?logo=discord&longCache=true&style=flat" />
56
62
</a>
57
- <a href =" https://react-async.ghengeveld .now.sh/examples/ " >
63
+ <a href="https://react-async.async-library .now.sh/examples/">
58
64
<img src="https://badgen.net/badge/live%20examples/available/pink?icon=now" alt="live examples">
59
65
</a>
60
66
</p>
@@ -82,7 +88,7 @@ Use it with `fetch`, Axios or other data fetching libraries, even GraphQL.
82
88
> ## Upgrading to v8
83
89
>
84
90
> Version 8 comes with breaking changes. See [ Upgrading] ( #upgrading ) for details.
85
- > A [ codemod] ( https://github.com/ghengeveld /react-async/tree/master/codemods ) is available.
91
+ > A [ codemod] ( https://github.com/async-library /react-async/tree/master/codemods ) is available.
86
92
87
93
# Table of Contents
88
94
@@ -191,7 +197,7 @@ All standalone helper components were renamed to avoid import naming collision.
191
197
- ` <Rejected> ` was renamed to ` <IfRejected ` .
192
198
- ` <Settled> ` was renamed to ` <IfSettled> ` .
193
199
194
- > A [ codemod] ( https://github.com/ghengeveld /react-async/tree/master/codemods ) is available to automate the upgrade.
200
+ > A [ codemod] ( https://github.com/async-library /react-async/tree/master/codemods ) is available to automate the upgrade.
195
201
196
202
The return type for ` run ` was changed from ` Promise ` to ` undefined ` . You should now use the ` promise ` prop instead. This
197
203
is a manual upgrade. See [ ` promise ` ] ( #promise-1 ) for details.
@@ -202,7 +208,7 @@ is a manual upgrade. See [`promise`](#promise-1) for details.
202
208
- Some of the other helpers were also renamed, but the old ones remain as alias.
203
209
- Don't forget to deal with any custom instances of ` <Async> ` when upgrading.
204
210
205
- > A [ codemod] ( https://github.com/ghengeveld /react-async/tree/master/codemods ) is available to automate the upgrade.
211
+ > A [ codemod] ( https://github.com/async-library /react-async/tree/master/codemods ) is available to automate the upgrade.
206
212
207
213
#### Upgrade to v4
208
214
@@ -531,7 +537,7 @@ state, the dispatched action and the internal reducer. You probably want to invo
531
537
> This is a power feature which loosely follows the [ state reducer pattern] . It allows you to control state changes by
532
538
> intercepting actions before they are handled, or by overriding or enhancing the reducer itself.
533
539
534
- [ internal reducer ] : https://github.com/ghengeveld /react-async/blob/master/src/reducer.js
540
+ [ internal reducer ] : https://github.com/async-library /react-async/blob/master/src/reducer.js
535
541
[ state reducer pattern ] : https://kentcdodds.com/blog/the-state-reducer-pattern
536
542
537
543
#### ` dispatcher `
@@ -881,7 +887,7 @@ return <IfSettled state={state}>{state => `Finished at ${state.finishedAt.toISOS
881
887
## Usage examples
882
888
883
889
Here's several examples to give you an idea of what's possible with React Async. For fully working examples, please
884
- check out the [` examples` directory](https://github.com/ghengeveld /react-async/tree/master/examples).
890
+ check out the [` examples` directory](https://github.com/async-library /react-async/tree/master/examples).
885
891
886
892
### Data fetching
887
893
@@ -995,7 +1001,7 @@ render() {
995
1001
996
1002
<a href="https://xebia.com"><img src="https://user-images.githubusercontent.com/321738/52999660-a9949780-3426-11e9-9a7e-42b400f4ccbe.png" height="40" alt="Xebia" /></a> <a href="https://intergamma.nl"><img src="https://user-images.githubusercontent.com/321738/52999676-b5805980-3426-11e9-899e-6c9669176df4.png" height="40" alt="Intergamma" /></a> <a href="https://www.bol.com"><img src="https://user-images.githubusercontent.com/321738/57380602-8ff32880-71a9-11e9-9936-a8bc77f2518b.png" height="40" alt="bol.com" /></a>
997
1003
998
- Your organization here? [Let us know](https://github.com/ghengeveld /react-async/issues/22) you're using React Async!
1004
+ Your organization here? [Let us know](https://github.com/async-library /react-async/issues/22) you're using React Async!
999
1005
1000
1006
## Acknowledgements
1001
1007
0 commit comments