Skip to content

Commit

Permalink
fix: prevent aborted defer values from starting a suspense render loop (
Browse files Browse the repository at this point in the history
#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
  • Loading branch information
brophdawg11 authored Sep 8, 2022
1 parent 0546ba9 commit 112c02c
Show file tree
Hide file tree
Showing 6 changed files with 323 additions and 178 deletions.
6 changes: 6 additions & 0 deletions .changeset/shy-guests-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"react-router": patch
"@remix-run/router": patch
---

fix: Avoid suspense loops on promise aborted values
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"none": "100 kB"
},
"packages/react-router/dist/react-router.production.min.js": {
"none": "12 kB"
"none": "12.5 kB"
},
"packages/react-router/dist/umd/react-router.production.min.js": {
"none": "14.5 kB"
Expand Down
Loading

0 comments on commit 112c02c

Please sign in to comment.