Skip to content

Commit 6757d82

Browse files
committed
feat(useFetch):
Added one hook for each HTTP verb: 'useGET', 'usePOST', etc, there is no need to pass the 'method' in the config
1 parent c245741 commit 6757d82

7 files changed

Lines changed: 720 additions & 27 deletions

File tree

.prettierrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"semi": false,
33
"trailingComma": "none",
4-
"singleQuote": true
4+
"singleQuote": true,
5+
"arrowParens": "avoid"
56
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ With React
3232
Without React
3333

3434
```html
35-
<script src="https://unpkg.com/http-react-fetcher@2.0.3/dist/vanilla.min.js"></script>
35+
<script src="https://unpkg.com/http-react-fetcher@2.0.4/dist/vanilla.min.js"></script>
3636
```
3737

3838
[Getting started](https://fetcher.atomic-state.org/docs/intro)

0 commit comments

Comments
 (0)