Bug: Fetch | `Response` hangs with large responses due to usage of `Response.clone()` in `cachedFetch`

This issue has been created since 2022-11-16.

Looks like this is a known limitation in node-fetch where large responses hang when cloned.
React version: 18.3.0-next-4bd245e9e-20221104

Steps To Reproduce

  1. Try with a large response

Code example:

const response = await fetch("https://www.example.com/some-large-response");
if (response.ok) {
  const data = await response.text();
}

The current behavior

Hanges with Response.text() in the above example

The expected behavior

Shouldn't hang

More Details About Repo
Owner Name facebook
Repo Name react
Full Name facebook/react
Language JavaScript
Created Date 2013-05-24
Updated Date 2022-12-10
Star Count 198882
Watcher Count 6638
Fork Count 41302
Issue Count 1120

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
MoorDyn input file typo 3 2021-02-18 2022-09-21
Stupid question about wlroots version 2 2022-04-10 2022-10-29
Crash when connecting wacom tablet 3 2022-01-22 2022-09-30
Manual Testing Live Data ORNL 0 2022-05-06 2022-07-02
Serilog application layer database or serilog saving 0 2021-01-05 2022-10-14
Port names do not render 2 2022-03-09 2022-11-29
condition-case: Invalid function: org-fc-with-point-at-back-heading Mark set 7 2021-05-18 2022-11-02
Device is busy or does not respond. 7 2021-10-25 2022-11-11
Highlight warnings like unused suppression statements in IDE 3 2020-02-25 2022-10-30
don't keep metadataFile open in storageManager 0 2022-11-07 2022-12-01
Could not initialize project 1 2022-02-12 2022-10-29
Anmeldung Cloud Adapter 5 2021-07-17 2022-11-04
Fresh docker install not working 2 2021-08-09 2022-12-03
如何通过api调用的方式调用portal service的接口,实现登录,创建app呢? 14 2022-02-18 2022-11-21
Opening the left sidebar on a published Logseq graph hosted at GitHub Pages causes the site to become blank 1 2021-10-24 2022-10-28
Enforce rustfmt? 0 2021-02-19 2022-01-23
Python IDEs 4 2020-05-14 2021-12-23
Remove MNT Research as Members from OpenHW Group site 0 2021-07-21 2022-10-23
使用flinkcdc stream模式时,增量读取binlog阶段,insert操作时出现主键冲突。 4 2021-08-26 2022-10-11
use @vite/plugin-react build, sometime useEffect hook cleanup does not work. 0 2022-10-28 2022-11-07
JSX transform works in `preview` mode, but not in `dev` 3 2022-10-28 2022-11-07
TextInput autoCapitalize doesn't work on iOS 1 2021-09-28 2022-12-08
Request: cast unsigned types when doing math on them 2 2022-07-21 2022-10-22
[GameTest][feature] player.transferServer(addr, port) 1 2022-10-07 2022-11-23
Add nofollow option for links 13 2019-01-28 2022-08-04
Update modrinth version 1 2021-11-06 2022-11-07
0299. Bulls and Cows | LeetCode Cookbook 0 2021-11-14 2022-11-29
Allow for `->>` operator on single paths for JSONB (postgres) 1 2022-02-07 2022-10-07
The searchPath setting is not quoted by sequelize, which prevents schemas with "-" from being used 1 2022-02-07 2022-10-26
Some parser related errors are silently ignored 2 2022-08-16 2022-09-07
TeamsInfo.GetMemberAsync failing with error "MethodNotAllowed" 9 2022-07-14 2022-10-05
can this lib be used in production? 4 2020-02-27 2022-11-27
How to get BaseModel Fields? 2 2021-05-27 2022-09-22
Admob IOS 8.0.0 GADBannerViewDelegate not be captured 0 2021-02-25 2022-12-02
Debug API is not available during postage syncing 0 2022-05-23 2022-10-07
Not work in iOS 15 3 2021-11-26 2022-01-16
What to do with OMPI_MPI_THREAD_LEVEL env variable? 8 2021-08-30 2022-11-12
add OnAfterCorrectPostedSalesInvoiceOnBeforeCommit event to "Correct Posted Sales Invoice" codeunit 1 2021-10-28 2022-10-05
Feature request 0 2020-04-03 2021-10-23
Sushi Roll 4 2021-05-19 2022-01-09
Extremely loud sound(s) when standing atop of bonusblock 1 2022-07-27 2022-11-18
hello guys, would you please help me for problem . 1 2021-11-14 2022-10-04
Argument defaults ? 4 2019-07-29 2022-01-15
Typescript predicts wrong type when using intersection types as parameters in overloaded function signatures 4 2021-10-16 2022-10-27
Create new labels in RPU for security audits 6 2022-08-12 2022-09-19
Inference on multi GPU 1 2022-05-23 2022-11-21
同样的数据,label的这两种格式,得到的准召不一样,这是为什么啊 5 2020-04-23 2022-12-10
vault raft error tls after migration 1 2022-05-31 2022-11-13
Add -v option to see installed version of misp-modules 0 2021-07-09 2022-11-25
🐛[BUG] 在对Ant Design Vue的modal再次封装时,本地无问题,编译发布后发现,模态框的取消和右上角的关闭无法关闭模态框 1 2022-07-21 2022-10-19