Skip to content

Commit c5928f5

Browse files
committed
Make 'wretch' library available
Proactively installing so it's available across collab workflow. Wretch is a chainable, configurable `fetch` API wrapper. - https://github.com/elbywan/wretch Useful because: - Throws errors by default, which is useful for React Query functions * - Convenient chainable API - **succinct** - Well-typed - Small size - Can cover our use cases in fetchWrapper and jQuery *: https://tanstack.com/query/latest/docs/framework/react/guides/query-functions#usage-with-fetch-and-other-clients-that-do-not-throw-by-default
1 parent 144de57 commit c5928f5

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

package-lock.json

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
"reflux-core": "^1.0.0",
7070
"select2": "3.5.2-browserify",
7171
"spark-md5": "^3.0.2",
72+
"wretch": "^2.9.0",
7273
"zxcvbn": "^4.4.2"
7374
},
7475
"devDependencies": {

0 commit comments

Comments
 (0)