Skip to content
This repository was archived by the owner on Aug 3, 2023. It is now read-only.

Commit 14bfadd

Browse files
authored
Merge pull request #131 from jmeas/2.0.1
2.0.1
2 parents 515312b + 733fbfa commit 14bfadd

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
### v2.0.1 (2018/2/17)
4+
5+
**Bug Fixes**
6+
7+
* This fixes a problem where the default `fetchPolicy` would be `"cache-first"` for "write" requests.
8+
39
### v2.0.0 (2018/2/17)
410

511
**Breaking**

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-request",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Declarative HTTP requests with React.",
55
"main": "lib/index.js",
66
"module": "es/index.js",

src/fetch.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,6 @@ Fetch.defaultProps = {
420420
beforeFetch: () => {},
421421
afterFetch: () => {},
422422
transformData: data => data,
423-
fetchPolicy: 'cache-first',
424423
dedupe: true,
425424

426425
method: 'get',

0 commit comments

Comments
 (0)