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

Commit 88520b9

Browse files
committed
2.0.3-beta1
1 parent 5ccdf1a commit 88520b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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.2",
3+
"version": "2.0.3-beta1",
44
"description": "Declarative HTTP requests with React.",
55
"main": "lib/index.js",
66
"module": "es/index.js",

src/fetch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export class Fetch extends React.Component {
109109
method: this.props.method.toUpperCase()
110110
});
111111

112-
if (currentRequestKey !== nextRequestKey) {
112+
if (currentRequestKey !== nextRequestKey && !this.isLazy(nextProps)) {
113113
this.fetchData(nextProps);
114114
}
115115
}

0 commit comments

Comments
 (0)