-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7755708
commit 64cb88a
Showing
26 changed files
with
4,770 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@apollo/client': minor | ||
--- | ||
|
||
Add support for React suspense with a new `useSuspenseQuery` hook. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,41 @@ | ||
##### DISCLAIMER ###### | ||
# We have disabled the use of prettier in this project for a variety of reasons. | ||
# Because much of this project has not been formatted, we don't want to want to | ||
# apply formatting to everything and skew `git blame` stats. Instead, we should | ||
# only format newly created files that we can guarantee have no existing git | ||
# history. For this reason, we have disabled prettier project-wide except for | ||
# a handful of files. | ||
# | ||
# ONLY ADD NEWLY CREATED FILES/PATHS TO THE LIST BELOW. DO NOT ADD EXISTING | ||
# PROJECT FILES. | ||
|
||
# ignores all files in /docs directory | ||
/docs/** | ||
|
||
# Ignore all mdx & md files: | ||
*.mdx | ||
*.md | ||
|
||
# Do not format anything automatically except files listed below | ||
/* | ||
|
||
##### PATHS TO BE FORMATTED ##### | ||
!src/ | ||
src/* | ||
!src/react/ | ||
src/react/* | ||
|
||
# Allow src/react/cache | ||
!src/react/cache/ | ||
|
||
## Allowed React Hooks | ||
!src/react/hooks/ | ||
src/react/hooks/* | ||
!src/react/hooks/internal | ||
!src/react/hooks/useSuspenseCache.ts | ||
!src/react/hooks/useSuspenseQuery.ts | ||
|
||
## Allowed React hook tests | ||
!src/react/hooks/__tests__/ | ||
src/react/hooks/__tests__/* | ||
!src/react/hooks/__tests__/useSuspenseQuery.test.tsx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.