Skip to content

Commit b4cbfd4

Browse files
committed
Merge branch 'next' into pr/Khartir/105
2 parents 3bc18ce + 5f1c1b1 commit b4cbfd4

File tree

16 files changed

+49
-35
lines changed

16 files changed

+49
-35
lines changed

.all-contributorsrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,15 @@
212212
"contributions": [
213213
"ideas"
214214
]
215+
},
216+
{
217+
"login": "AlixWang",
218+
"name": "AlixWang",
219+
"avatar_url": "https://avatars0.githubusercontent.com/u/5417459?v=4",
220+
"profile": "https://github.com/AlixWang",
221+
"contributions": [
222+
"doc"
223+
]
215224
}
216225
],
217226
"contributorsPerLine": 7,

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
save-exact=true

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
147147
</tr>
148148
<tr>
149149
<td align="center"><a href="https://munir.dev"><img src="https://avatars3.githubusercontent.com/u/5339664?v=4" width="75px;" alt="Munir Ahmed Elsangedy"/><br /><sub><b>Munir Ahmed Elsangedy</b></sub></a><br /><a href="#ideas-elsangedy" title="Ideas, Planning, & Feedback">🤔</a></td>
150+
<td align="center"><a href="https://github.com/AlixWang"><img src="https://avatars0.githubusercontent.com/u/5417459?v=4" width="75px;" alt="AlixWang"/><br /><sub><b>AlixWang</b></sub></a><br /><a href="https://github.com/async-library/react-async/commits?author=AlixWang" title="Documentation">📖</a></td>
150151
</tr>
151152
</table>
152153

docs/guide/separating-view-logic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const fetchPerson = async ({ id }, { signal }) => {
1515
}
1616

1717
const Person = ({ id }) => {
18-
const { data, error } = useAsync({ promiseFn: fetchPerson, id })
18+
const state = useAsync({ promiseFn: fetchPerson, id })
1919
return children(state)
2020
}
2121

examples/basic-fetch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"react-scripts": "3.2.0"
2222
},
2323
"devDependencies": {
24-
"relative-deps": "0.1.2"
24+
"relative-deps": "0.2.0"
2525
},
2626
"relativeDependencies": {
2727
"react-async": "../../packages/react-async/pkg",

examples/basic-hook/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"react-scripts": "3.2.0"
2222
},
2323
"devDependencies": {
24-
"relative-deps": "0.1.2"
24+
"relative-deps": "0.2.0"
2525
},
2626
"relativeDependencies": {
2727
"react-async": "../../packages/react-async/pkg",

examples/custom-instance/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"react-scripts": "3.2.0"
2222
},
2323
"devDependencies": {
24-
"relative-deps": "0.1.2"
24+
"relative-deps": "0.2.0"
2525
},
2626
"relativeDependencies": {
2727
"react-async": "../../packages/react-async/pkg",

examples/movie-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"react-scripts": "3.2.0"
2222
},
2323
"devDependencies": {
24-
"relative-deps": "0.1.2"
24+
"relative-deps": "0.2.0"
2525
},
2626
"relativeDependencies": {
2727
"react-async": "../../packages/react-async/pkg",

examples/with-abortcontroller/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"react-scripts": "3.2.0"
2222
},
2323
"devDependencies": {
24-
"relative-deps": "0.1.2"
24+
"relative-deps": "0.2.0"
2525
},
2626
"relativeDependencies": {
2727
"react-async": "../../packages/react-async/pkg",

examples/with-nextjs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
},
1717
"dependencies": {
1818
"isomorphic-fetch": "2.2.1",
19-
"next": "9.1.1",
19+
"next": "9.1.3",
2020
"react": "16.11.0",
2121
"react-async": "^9.0.0",
2222
"react-async-devtools": "^9.0.0",
2323
"react-dom": "16.11.0"
2424
},
2525
"devDependencies": {
26-
"relative-deps": "0.1.2"
26+
"relative-deps": "0.2.0"
2727
},
2828
"relativeDependencies": {
2929
"react-async": "../../packages/react-async/pkg",

0 commit comments

Comments
 (0)