Skip to content

Commit

Permalink
docs(examples): remove redundant examples (#3951)
Browse files Browse the repository at this point in the history
* docs(examples): remove redundant examples
- "custom hooks" because "basic" example uses custom hooks already
- "window focus refetching" because this feature is already turned on by default

* docs(examples): remove redundant examples
- "optimistic updates" because "optimistic updates typescript" already covers this functionality

* docs(examples): remove links to deleted examples from the docs

* docs(examples): remove redundant examples - update package-lock.json
  • Loading branch information
zorzysty committed Aug 16, 2022
1 parent 55249fd commit 4bc258b
Show file tree
Hide file tree
Showing 26 changed files with 3 additions and 1,194 deletions.
12 changes: 0 additions & 12 deletions docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,22 +228,10 @@
"label": "Basic w/ GraphQL-Request",
"to": "examples/react/basic-graphql-request"
},
{
"label": "Custom Hooks",
"to": "examples/react/custom-hooks"
},
{
"label": "Auto Refetching / Polling / Realtime",
"to": "examples/react/auto-refetching"
},
{
"label": "Window Refocus Refetching",
"to": "examples/react/focus-refetching"
},
{
"label": "Optimistic Updates",
"to": "examples/react/optimistic-updates"
},
{
"label": "Optimistic Updates in TypeScript",
"to": "examples/react/optimistic-updates-typescript"
Expand Down
4 changes: 0 additions & 4 deletions examples/react/custom-hooks/.babelrc

This file was deleted.

7 changes: 0 additions & 7 deletions examples/react/custom-hooks/.eslintrc

This file was deleted.

26 changes: 0 additions & 26 deletions examples/react/custom-hooks/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion examples/react/custom-hooks/.prettierrc

This file was deleted.

37 changes: 0 additions & 37 deletions examples/react/custom-hooks/.rescriptsrc.js

This file was deleted.

6 changes: 0 additions & 6 deletions examples/react/custom-hooks/README.md

This file was deleted.

40 changes: 0 additions & 40 deletions examples/react/custom-hooks/package.json

This file was deleted.

1 change: 0 additions & 1 deletion examples/react/custom-hooks/public/favicon.ico

This file was deleted.

38 changes: 0 additions & 38 deletions examples/react/custom-hooks/public/index.html

This file was deleted.

15 changes: 0 additions & 15 deletions examples/react/custom-hooks/public/manifest.json

This file was deleted.

13 changes: 0 additions & 13 deletions examples/react/custom-hooks/src/hooks/usePost.js

This file was deleted.

13 changes: 0 additions & 13 deletions examples/react/custom-hooks/src/hooks/usePosts.js

This file was deleted.

105 changes: 0 additions & 105 deletions examples/react/custom-hooks/src/index.js

This file was deleted.

26 changes: 0 additions & 26 deletions examples/react/focus-refetching/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions examples/react/focus-refetching/README.md

This file was deleted.

21 changes: 0 additions & 21 deletions examples/react/focus-refetching/package.json

This file was deleted.

0 comments on commit 4bc258b

Please sign in to comment.