Skip to content

Commit d01f52d

Browse files
committed
Merge remote-tracking branch 'origin/master' into beta
2 parents 74d1106 + 37ad9c1 commit d01f52d

File tree

6 files changed

+65
-5
lines changed

6 files changed

+65
-5
lines changed

docs/src/pages/graphql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Because React Query's fetching mechanisms are agnostically built on Promises, yo
99
1010
## Examples
1111

12-
- [basic-graphql-request](../docs/examples/basic-graphql-request) (The "basic" example, but implemented with [`graphq-request`](https://github.com/prisma-labs/graphql-request))
12+
- [basic-graphql-request](../docs/examples/basic-graphql-request) (The "basic" example, but implemented with [`graphql-request`](https://github.com/prisma-labs/graphql-request))

docs/src/pages/guides/infinite-queries.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ function Projects() {
4848

4949
const {
5050
data,
51+
error,
5152
fetchNextPage,
5253
hasNextPage,
5354
isFetching,

docs/src/pages/guides/testing.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ const wrapper = ({ children }) => (
3535
{children}
3636
</ReactQueryCacheProvider>
3737
);
38+
3839
const { result } = renderHook(() => useCustomHook(), { wrapper });
40+
3941
expect(result.current).toEqual('Hello');
4042
```
4143

@@ -67,15 +69,19 @@ const wrapper = ({ children }) => (
6769
{children}
6870
</ReactQueryCacheProvider>
6971
);
72+
7073
const expectation = nock('http://example.com')
7174
.get('/api/data')
7275
.reply(200, {
7376
answer: 42
7477
});
78+
7579
const { result, waitFor } = renderHook(() => useFetchData(), { wrapper });
80+
7681
await waitFor(() => {
77-
return result.current.isSuccess();
82+
return result.current.isSuccess;
7883
});
84+
7985
expect(result.current).toEqual({answer: 42});
8086
```
8187

docs/src/pages/index.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ import { Seo } from 'components/Seo'
1010
import Head from 'next/head'
1111

1212
const supporters = [
13-
['Kent C. Dodds (kentcdodds.com)', 'https://kentcdodds.com/'],
13+
['Kent C. Dodds', 'https://kentcdodds.com/'],
1414
['@bgazzera', 'https://github.com/bgazzera'],
1515
['Gabe Ragland', 'https://github.com/gragland'],
1616
['Matt Wood', 'https://github.com/mattwoodnyc'],
1717
['Joshua Turner', 'https://github.com/joshua-turner'],
1818
['Fillip Peyton', 'https://github.com/fillippeyton'],
19+
['Tim Myers', 'https://github.com/denvercoder'],
20+
['Andy Slezak', 'https://github.com/amslezak'],
1921
]
2022

2123
const fans = [
@@ -31,11 +33,14 @@ const fans = [
3133
'Johnny Bell (@johnnyxbell)',
3234
'Garrett Fritz (@gfritzdev)',
3335
'Juliano Farias (@frontendwizard)',
34-
'Kristóf Poduszló (@kripod)',
3536
'Peter Pistorius (@peterp)',
3637
'Agustín Villalobos (@agustin-v)',
3738
'Panigo (@rangigo)',
3839
'Jesse Jafa, (@awareness481)',
40+
'Arijit Bhattacharya, (@hoodwink73)',
41+
'Bryan Grill, (@brygrill)',
42+
'Peter Hozák, (@Aprillion)',
43+
'Arijit Bhattacharya, (@hoodwink73)',
3944
]
4045

4146
const Home = () => {

docs/src/pages/videos.mdx

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,51 @@ title: Videos & Talks
1616
></iframe>
1717

1818
[Click here to view the Repository used for the above presentation](https://github.com/tannerlinsley/react-query-blog-refactor-example)
19+
20+
<iframe
21+
width="280"
22+
height="400"
23+
src="https://www.youtube.com/embed/DocXo3gqGdI"
24+
frameborder="0"
25+
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
26+
allowfullscreen
27+
style={{
28+
width: '100%',
29+
}}
30+
></iframe>
31+
32+
<iframe
33+
width="280"
34+
height="400"
35+
src="https://www.youtube.com/embed/PPvWXbSCtBU"
36+
frameborder="0"
37+
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
38+
allowfullscreen
39+
style={{
40+
width: '100%',
41+
}}
42+
></iframe>
43+
44+
<iframe
45+
width="280"
46+
height="400"
47+
src="https://www.youtube.com/embed/B3cJDT3j19I"
48+
frameborder="0"
49+
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
50+
allowfullscreen
51+
style={{
52+
width: '100%',
53+
}}
54+
></iframe>
55+
56+
<iframe
57+
width="280"
58+
height="400"
59+
src="https://www.youtube.com/embed/_ehibado6rU"
60+
frameborder="0"
61+
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
62+
allowfullscreen
63+
style={{
64+
width: '100%',
65+
}}
66+
></iframe>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"@babel/runtime": "^7.5.5"
6262
},
6363
"peerDependencies": {
64-
"react": "^16.8.0"
64+
"react": "^16.8.0 || ^17.0.0"
6565
},
6666
"peerDependenciesMeta": {
6767
"react-dom": {

0 commit comments

Comments
 (0)