← facebook/react

CODEFOSSIL · react

updateSuspenseComponent

function in packages/react-reconciler/src/ReactFiberBeginWork.js:2380 · Born 2018-10-10 (DERIVED, confidence 0.80)

7years old
63changes
7fixes
13authors
0callers
201920202021202220232024202520262018-10-18 dac9202 Hide timed-out children instead of deleting them so their state is preserved (#13823)2018-10-18 b738ced Remove render prop option from Suspense (#13880)2018-10-20 7268d97 Centralize props memoization (#13900)2018-10-20 e16cdd5 Always bail out timed out children even if they receive an update (#13901)2018-10-23 55444a6 Try rendering again if a timed out tree receives an update (#13921)2018-11-06 e9a2ec9 [suspense] Avoid double commit by re-rendering immediately and reusing primary children (#14083)2018-11-07 e27720d [Synchronous Suspense] Reuse deletions from primary tree (#14133)2018-11-07 3ff2c7c Invalid actualDuration+treeBaseDuration for hidden+suspended trees (#14065)2018-11-09 e58ecda Suspense fuzz tester (#14147)2018-11-09 4b163fe Remove errant return assignment (#14164)2018-12-14 4a10721 Memoize promise listeners to prevent exponential growth (#14429)2019-02-12 f3a1495 Partial Hydration (#14717)2019-04-02 4c75881 Remove maxDuration from tests (#15272)2019-04-04 7a2dc48 Allow DevTools to toggle Suspense fallbacks (#15232)2019-04-10 4c78ac0 Track Event Time as the Start Time for Suspense (#15358)2019-05-08 c7398f3 Add Suspense Boundary Context (and unstable_avoidThisFallback) (#15578)2019-05-13 862f499 Add Batched Mode (#15502)2019-05-21 7829d8c Fix missing return pointer assignment (#15700)2019-05-30 113497c [Suspense] Change Suspending and Restarting Heuristics (#15769)2019-06-20 76864f7 Add SuspenseList Component (#15902)2019-08-12 50addf4 Refactor Partial Hydration (#16346)2019-08-14 6fbe630 [Partial Hydration] Attempt hydration at a higher pri first if props/context changes (#16352)2019-10-16 ed5f010 Client render Suspense content if there's no boundary match (#16945)2019-10-23 f6b8d31 Rename createSyncRoot to createBlockingRoot (#17165)2019-12-11 9ac42dd Remove the condition argument from warning() (#17568)2019-12-14 0cf22a5 Use console directly instead of warning() modules (#17599)2019-12-22 ccc6100 Fix comments typos (#17550)2020-02-21 8b596e0 Remove unused arguments in the reconciler (#18092)2020-02-27 849e832 Remove unnecessary warnings (#18135)2020-03-26 9d67847 [Bugfix] Dropped updates inside a suspended tree (#18384)2020-03-27 35a2f74 Delete leftover assignment from #183842020-03-30 d7382b6 Bugfix: Do not unhide a suspended tree without finishing the suspended update (#18411)2020-04-01 58afba0 Fix: Don't read primaryChild.childExpirationTime (#18457)2020-06-12 8f05f2b Land Lanes implementation in old fork (#19108)2020-09-04 1665443 Rename effect fields (#19755)2020-09-30 1faf9e3 Suspense for CPU-bound trees (#19936)2021-04-26 fc33f12 Remove unstable scheduler/tracing API (#20037)2021-07-12 c2c6ea1 Capture suspense boundaries with undefined fallbacks (#21854)2021-08-22 fc3b6a4 Fix a few typos (#22154)2021-09-24 04ccc01 Hydration errors should force a client render (#22416)2021-12-08 f2a59df Remove unstableAvoidThisFallback from OSS (#22884)2022-02-17 51c8411 Log a recoverable error whenever hydration fails (#23319)2022-02-19 40eaa22 Remove dependency on Offscreen Fiber updateQueue for React Cache (#23229)2022-03-08 6edd55a Gate unstable_expectedLoadTime on enableCPUSuspense (#24038)2022-03-12 832e298 Revert accdientally merged PR (#24081)2022-05-12 34da5aa Only treat updates to lazy as a new mount in legacy mode (#24530)2022-05-25 b2763d3 Move hydration code out of normal Suspense path (#24532)2022-06-27 a4bed46 [Transition Tracing] Add Tracing Markers (#24686)2022-06-30 4012963 [Transition Tracing] Refactor Transition Tracing Root Code (#24766)2022-06-30 e61fd91 Revert "[Transition Tracing] Refactor Transition Tracing Root Code (#24766)" (#24829)2022-06-30 4cd788a Revert "Revert [Transition Tracing] Refactor Transition Tracing Root Code" (#24830)2022-07-05 82e9e99 Suspending inside a hidden tree should not cause fallbacks to appear (#24699)2022-07-08 30eb267 Land forked reconciler changes (#24878)2023-01-09 0b4f443 [flow] enable enforce_local_inference_annotations (#25921)2023-01-31 6b30832 Upgrade prettier (#26081)2023-03-06 8a9f82e [Float][Fizz][Fiber] - Do not hoist elements with `itemProp` & hydrate more tolerantly in hoist contexts (#26256)2023-03-17 db281b3 Feature: Suspend commit without blocking render (#26398)2024-01-08 f1039be Fix: useDeferredValue initialValue suspends forever without switching to final (#27888)2024-11-04 07aa494 Remove enableRefAsProp feature flag (#30346)2025-04-10 c44e4a2 Move Built-in Props Types to React Types (#32841)2025-04-11 961b625 Try not. Do... or do not. Hydrate Suspense Boundaries. (#32851)2026-06-05 fbb1370 [flow] Bump flow to v0.307.1 (#36199)2026-06-05 900ae09 [flow] Bump flow to v0.317.0 (#36701)2018-10-10 8af6728 Enable Suspense + rename Placeholder (#13799)
Every commit that changed it, 2018-10-10 – 2026-06-05. Raised orange dots are fixes.
  1. Changed [flow] Bump flow to v0.317.0 (#36701)

    900ae09 · Sam Zhou

  2. Changed [flow] Bump flow to v0.307.1 (#36199)

    fbb1370 · Sam Zhou

  3. Changed Try not. Do... or do not. Hydrate Suspense Boundaries. (#32851)

    961b625 · Sebastian Markbåge

  4. Changed Move Built-in Props Types to React Types (#32841)

    c44e4a2 · Sebastian Markbåge

  5. Changed Remove enableRefAsProp feature flag (#30346)

    07aa494 · Jan Kassens

  6. Changed Fix: useDeferredValue initialValue suspends forever without switching to final (#27888)

    f1039be · Andrew Clark fix · INFERRED

  7. Changed Feature: Suspend commit without blocking render (#26398)

    db281b3 · Andrew Clark

  8. Changed [Float][Fizz][Fiber] - Do not hoist elements with `itemProp` & hydrate more tolerantly in hoist contexts (#26256)

    8a9f82e · Josh Story

  9. Changed Upgrade prettier (#26081)

    6b30832 · Jan Kassens

  10. Changed [flow] enable enforce_local_inference_annotations (#25921)

    0b4f443 · Jan Kassens

  11. Changed Land forked reconciler changes (#24878)

    30eb267 · Andrew Clark

  12. Changed Suspending inside a hidden tree should not cause fallbacks to appear (#24699)

    82e9e99 · Andrew Clark

  13. Changed Revert "Revert [Transition Tracing] Refactor Transition Tracing Root Code" (#24830)

    4cd788a · Luna Ruan fix · INFERRED

  14. Changed Revert "[Transition Tracing] Refactor Transition Tracing Root Code (#24766)" (#24829)

    e61fd91 · Andrew Clark fix · INFERRED

  15. Changed [Transition Tracing] Refactor Transition Tracing Root Code (#24766)

    4012963 · Luna Ruan

  16. Changed [Transition Tracing] Add Tracing Markers (#24686)

    a4bed46 · Luna Ruan

  17. Changed Move hydration code out of normal Suspense path (#24532)

    b2763d3 · Andrew Clark

  18. Changed Only treat updates to lazy as a new mount in legacy mode (#24530)

    34da5aa · Ricky

  19. Changed Revert accdientally merged PR (#24081)

    832e298 · Andrew Clark

  20. Changed Gate unstable_expectedLoadTime on enableCPUSuspense (#24038)

    6edd55a · Sebastian Markbåge

  21. Changed Remove dependency on Offscreen Fiber updateQueue for React Cache (#23229)

    40eaa22 · Luna Ruan

  22. Changed Log a recoverable error whenever hydration fails (#23319)

    51c8411 · Andrew Clark

  23. Changed Remove unstableAvoidThisFallback from OSS (#22884)

    f2a59df · salazarm

  24. Changed Hydration errors should force a client render (#22416)

    04ccc01 · Andrew Clark

  25. Changed Fix a few typos (#22154)

    fc3b6a4 · Bowen

  26. Changed Capture suspense boundaries with undefined fallbacks (#21854)

    c2c6ea1 · Ricky

  27. Changed Remove unstable scheduler/tracing API (#20037)

    fc33f12 · Brian Vaughn

  28. Changed Suspense for CPU-bound trees (#19936)

    1faf9e3 · Andrew Clark

  29. Changed Rename effect fields (#19755)

    1665443 · Andrew Clark

  30. Changed Land Lanes implementation in old fork (#19108)

    8f05f2b · Andrew Clark

  31. Changed Fix: Don't read primaryChild.childExpirationTime (#18457)

    58afba0 · Andrew Clark fix · INFERRED

  32. Changed Bugfix: Do not unhide a suspended tree without finishing the suspended update (#18411)

    d7382b6 · Andrew Clark fix · INFERRED

  33. Changed Delete leftover assignment from #18384

    35a2f74 · Andrew Clark

  34. Changed [Bugfix] Dropped updates inside a suspended tree (#18384)

    9d67847 · Andrew Clark fix · INFERRED

  35. Changed Remove unnecessary warnings (#18135)

    849e832 · Dan Abramov

  36. Changed Remove unused arguments in the reconciler (#18092)

    8b596e0 · Dan Abramov

  37. Changed Fix comments typos (#17550)

    ccc6100 · Nick S. Plekhanov

  38. Changed Use console directly instead of warning() modules (#17599)

    0cf22a5 · Dan Abramov

  39. Changed Remove the condition argument from warning() (#17568)

    9ac42dd · Laura buns

  40. Changed Rename createSyncRoot to createBlockingRoot (#17165)

    f6b8d31 · Dan Abramov

  41. Changed Client render Suspense content if there's no boundary match (#16945)

    ed5f010 · Sebastian Markbåge

  42. Changed [Partial Hydration] Attempt hydration at a higher pri first if props/context changes (#16352)

    6fbe630 · Sebastian Markbåge

  43. Changed Refactor Partial Hydration (#16346)

    50addf4 · Sebastian Markbåge

  44. Changed Add SuspenseList Component (#15902)

    76864f7 · Sebastian Markbåge

  45. Changed [Suspense] Change Suspending and Restarting Heuristics (#15769)

    113497c · Sebastian Markbåge

  46. Changed Fix missing return pointer assignment (#15700)

    7829d8c · Andrew Clark fix · INFERRED

  47. Changed Add Batched Mode (#15502)

    862f499 · Andrew Clark

  48. Changed Add Suspense Boundary Context (and unstable_avoidThisFallback) (#15578)

    c7398f3 · Sebastian Markbåge

  49. Changed Track Event Time as the Start Time for Suspense (#15358)

    4c78ac0 · Sebastian Markbåge

  50. Changed Allow DevTools to toggle Suspense fallbacks (#15232)

    7a2dc48 · Dan Abramov

  51. Changed Remove maxDuration from tests (#15272)

    4c75881 · Sebastian Markbåge

  52. Changed Partial Hydration (#14717)

    f3a1495 · Sebastian Markbåge

  53. Changed Memoize promise listeners to prevent exponential growth (#14429)

    4a10721 · Andrew Clark

  54. Changed Remove errant return assignment (#14164)

    4b163fe · Andrew Clark

  55. Changed Suspense fuzz tester (#14147)

    e58ecda · Andrew Clark

  56. Changed Invalid actualDuration+treeBaseDuration for hidden+suspended trees (#14065)

    3ff2c7c · Brian Vaughn

  57. Changed [Synchronous Suspense] Reuse deletions from primary tree (#14133)

    e27720d · Andrew Clark

  58. Changed [suspense] Avoid double commit by re-rendering immediately and reusing primary children (#14083)

    e9a2ec9 · Andrew Clark

  59. Changed Try rendering again if a timed out tree receives an update (#13921)

    55444a6 · Andrew Clark

  60. Changed Always bail out timed out children even if they receive an update (#13901)

    e16cdd5 · Andrew Clark

  61. Changed Centralize props memoization (#13900)

    7268d97 · Sebastian Markbåge

  62. Changed Remove render prop option from Suspense (#13880)

    b738ced · Andrew Clark

  63. Changed Hide timed-out children instead of deleting them so their state is preserved (#13823)

    dac9202 · Andrew Clark

  64. Born Enable Suspense + rename Placeholder (#13799)

    8af6728 · Dan Abramov