Skip to content

Commit 112c02c

Browse files
authored
fix: prevent aborted defer values from starting a suspense render loop (#9226)
* fix: prevent aborted defer values from starting a suspense render loop * fix router test assertions for aborted deferreds * add test for direct promise access * Bump bundle * add changeset
1 parent 0546ba9 commit 112c02c

File tree

6 files changed

+323
-178
lines changed

6 files changed

+323
-178
lines changed

.changeset/shy-guests-tickle.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"react-router": patch
3+
"@remix-run/router": patch
4+
---
5+
6+
fix: Avoid suspense loops on promise aborted values

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"none": "100 kB"
105105
},
106106
"packages/react-router/dist/react-router.production.min.js": {
107-
"none": "12 kB"
107+
"none": "12.5 kB"
108108
},
109109
"packages/react-router/dist/umd/react-router.production.min.js": {
110110
"none": "14.5 kB"

0 commit comments

Comments
 (0)