Skip to content

Commit 7fc9472

Browse files
authoredJul 10, 2024··
docs(examples): Modernise React examples (#7704)
* docs(examples): Update react/basic-typescript * Replace basic with basic-typescript * Fix lockfile * Update react/basic-graphql-request * Improve react/suspense * More tweaks to react/suspense * Update react/simple * Update react/offline * Convert default-query-function * Remove axios and ky usage * Replace axios with fetch * Undo lint-stagesd * Sync solid/basic and solid/basic-graphql-request
1 parent 362f8e6 commit 7fc9472

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+516
-764
lines changed
 

‎examples/react/algolia/package.json

-12
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,5 @@
2424
"@vitejs/plugin-react": "^4.2.1",
2525
"typescript": "5.3.3",
2626
"vite": "^5.2.11"
27-
},
28-
"browserslist": {
29-
"production": [
30-
">0.2%",
31-
"not dead",
32-
"not op_mini all"
33-
],
34-
"development": [
35-
"last 1 chrome version",
36-
"last 1 firefox version",
37-
"last 1 safari version"
38-
]
3927
}
4028
}

‎examples/react/auto-refetching/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"dependencies": {
1111
"@tanstack/react-query": "^5.50.1",
1212
"@tanstack/react-query-devtools": "^5.50.1",
13-
"axios": "^1.6.8",
1413
"isomorphic-unfetch": "4.0.2",
1514
"next": "^14.2.4",
1615
"react": "^18.2.0",

0 commit comments

Comments
 (0)
Please sign in to comment.