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

Set fetching to be true on initial mount for non-lazy requests #190

Open
wants to merge 1 commit into
base: 4.0.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class Fetch extends React.Component {
method: props.method.toUpperCase(),
}),
requestName: props.requestName,
fetching: false,
fetching: !this.isLazy(),
response: null,
data: null,
error: null,
Expand Down