← facebook/react

CODEFOSSIL · react

throwException

function in packages/react-reconciler/src/ReactFiberThrow.js:364 · Born 2018-02-24 (DERIVED, confidence 0.72)

8years old
62changes
7fixes
12authors
0callers

Moved here from packages/react-reconciler/src/ReactFiberUnwindWork.js; its history is followed back to where it was born.

201920202021202220232024202520262019-05-30 113497c [Suspense] Change Suspending and Restarting Heuristics (#15769)2019-07-08 2a0f639 Fix typos (#16076)2019-08-12 50addf4 Refactor Partial Hydration (#16346)2019-10-23 f6b8d31 Rename createSyncRoot to createBlockingRoot (#17165)2019-12-03 f523b2e Use fewer global variables in Hooks (#17480)2020-02-04 d6e08fe Remove Suspense priority warning (#17971)2020-03-06 235a6c4 Bugfix: Dropped effects in Legacy Mode Suspense (#18238)2020-03-25 64ed221 Formalize the Wakeable and Thenable types (#18391)2020-04-01 3e94bce Enable prefer-const lint rules (#18451)2020-04-16 22dc2e4 Add experimental DebugTracing logger for internal use (#18531)2020-04-23 b58dec9 Remove unnecessary stack (#18707)2020-06-12 8f05f2b Land Lanes implementation in old fork (#19108)2020-06-16 cc7c1ae Re-enabled DebugTracing feature for old reconciler fork (#19142)2020-06-19 d1d9054 Revert "Re-enabled DebugTracing feature for old reconciler fork (#19142)" (#19159)2020-06-23 1425fcb Re-enabled DebugTracing feature for old reconciler fork (#19161)2020-06-30 8bff898 Don't bailout after Suspending in Legacy Mode (#19216)2020-07-08 40cddfe Add user timing marks for scheduling profiler tool (#19223)2020-08-27 1eaafc9 Clean up timeoutMs-related implementation details (#19704)2020-08-28 ddd1faa Remove config argument from useTransition (#19719)2020-09-04 1665443 Rename effect fields (#19755)2020-12-01 5711811 Reconcile element types of lazy component yielding the same type (#20357)2020-12-18 efc57e5 Add built-in Suspense cache with support for invalidation (refreshing) (#20456)2021-01-22 0fd6805 Land rest of effects refactor in main fork (#20644)2021-02-02 7cb9fd7 Land interleaved updates change in main fork (#20710)2021-02-28 553440b Remove blocking mode and blocking root (#20888)2021-03-02 ee43263 Revert "Remove blocking mode and blocking root (#20888)" (#20916)2021-03-05 7df6572 Split getComponentName into getComponentNameFromFiber and getComponentNameFromType (#20940)2021-03-07 c7b4497 [Experiment] Lazily propagate context changes (#20890)2021-03-10 860f673 Remove Blocking Mode (again) (#20974)2021-04-09 dc108b0 Track which fibers scheduled the current render work (#15658)2021-07-29 34308b5 Tidy up early bailout logic at start of begin phase (#21852)2021-07-30 f0d354e [Fabric] Fix reparenting bug in legacy Suspense mount (#21995)2021-08-02 27bf6f9 Scheduling profiler UX changes (#21990)2021-08-03 e3049bb DevTools scheduling profiler: Add React component measures (#22013)2021-08-04 19092ac Re-add old Fabric Offscreen impl behind flag (#22018)2021-09-23 3a50d95 Never attach ping listeners in legacy Suspense (#22407)2021-09-24 af87f5a Scheduling Profiler marks should include thrown Errors (#22417)2021-09-24 04ccc01 Hydration errors should force a client render (#22416)2021-09-30 a724a3b [RFC] Codemod invariant -> throw new Error (#22435)2021-11-09 0ddd69d Throw on hydration mismatch and force client rendering if boundary hasn't suspended within concurrent root (#22629)2022-02-04 848e802 Add onRecoverableError option to hydrateRoot, createRoot (#23207)2022-02-11 796fff5 Allow suspending outside a Suspense boundary (#23267)2022-02-16 f7f7ed0 Allow suspending in the shell during hydration (#23304)2022-02-25 3a60844 Update error message for suspending at sync priority (#23361)2022-02-25 f468816 Fix false positive hydration warnings (#23364)2022-04-20 9ae80d6 Suppress hydration warnings when a preceding sibling suspends (#24404)2022-06-06 4f29ba1 support errorInfo in onRecoverableError (#24591)2023-03-17 db281b3 Feature: Suspend commit without blocking render (#26398)2023-04-05 790ebc9 Remove no-fallthrough lint suppressions (#26553)2023-08-17 ac1a16c Add Postpone API (#27238)2023-08-22 dd480ef Fix: Stylesheet in error UI suspends indefinitely (#27265)2024-01-25 11c9fd0 Batch async actions even if useTransition is unmounted (#28078)2024-03-27 a053716 Make onUncaughtError and onCaughtError Configurable (#28641)2024-03-29 5d4b758 Don't let error boundaries catch errors during hydration (#28675)2024-04-03 5de8703 Use the disableLegacyMode where ever we check the ConcurrentMode mode (#28657)2024-04-04 6090cab Use a Wrapper Error for onRecoverableError with a "cause" Field for the real Error (#28736)2024-12-15 2d32056 [flags] Delete enableDebugTracing (#31780)2025-04-23 3ef31d1 Implement Partial Hydration for Activity (#32863)2025-11-05 986323f [Fiber] SuspenseList with "hidden" tail row should "catch" suspense (#35042)2025-11-05 dd048c3 Clean up enablePostpone Experiment (#35048)2025-11-07 717e708 Fix: Errors should not escape a hidden Activity (#35074)2026-06-05 900ae09 [flow] Bump flow to v0.317.0 (#36701)2019-05-23 8af1f87 Rename ReactFiberScheduler -> ReactFiberWorkLoop and extract throwException from Unwind (#15725)2018-02-24 94518b0 Add stack unwinding phase for handling errors (#12201)
Every commit that changed it, 2018-02-24 – 2026-06-05. Raised orange dots are fixes.
  1. Changed [flow] Bump flow to v0.317.0 (#36701)

    900ae09 · Sam Zhou

  2. Changed Fix: Errors should not escape a hidden Activity (#35074)

    717e708 · Andrew Clark fix · INFERRED

  3. Changed Clean up enablePostpone Experiment (#35048)

    dd048c3 · Sebastian Markbåge

  4. Changed [Fiber] SuspenseList with "hidden" tail row should "catch" suspense (#35042)

    986323f · Sebastian Markbåge

  5. Changed Implement Partial Hydration for Activity (#32863)

    3ef31d1 · Sebastian Markbåge

  6. Changed [flags] Delete enableDebugTracing (#31780)

    2d32056 · Ricky

  7. Changed Use a Wrapper Error for onRecoverableError with a "cause" Field for the real Error (#28736)

    6090cab · Sebastian Markbåge

  8. Changed Use the disableLegacyMode where ever we check the ConcurrentMode mode (#28657)

    5de8703 · Sebastian Markbåge

  9. Changed Don't let error boundaries catch errors during hydration (#28675)

    5d4b758 · Sebastian Markbåge

  10. Changed Make onUncaughtError and onCaughtError Configurable (#28641)

    a053716 · Sebastian Markbåge

  11. Changed Batch async actions even if useTransition is unmounted (#28078)

    11c9fd0 · Andrew Clark

  12. Changed Fix: Stylesheet in error UI suspends indefinitely (#27265)

    dd480ef · Andrew Clark fix · INFERRED

  13. Changed Add Postpone API (#27238)

    ac1a16c · Sebastian Markbåge

  14. Changed Remove no-fallthrough lint suppressions (#26553)

    790ebc9 · Sophie Alpert

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

    db281b3 · Andrew Clark

  16. Changed support errorInfo in onRecoverableError (#24591)

    4f29ba1 · Josh Story

  17. Changed Suppress hydration warnings when a preceding sibling suspends (#24404)

    9ae80d6 · Josh Story

  18. Changed Fix false positive hydration warnings (#23364)

    f468816 · Andrew Clark fix · INFERRED

  19. Changed Update error message for suspending at sync priority (#23361)

    3a60844 · Andrew Clark

  20. Changed Allow suspending in the shell during hydration (#23304)

    f7f7ed0 · Andrew Clark

  21. Changed Allow suspending outside a Suspense boundary (#23267)

    796fff5 · Andrew Clark

  22. Changed Add onRecoverableError option to hydrateRoot, createRoot (#23207)

    848e802 · Andrew Clark

  23. Changed Throw on hydration mismatch and force client rendering if boundary hasn't suspended within concurrent root (#22629)

    0ddd69d · salazarm

  24. Changed [RFC] Codemod invariant -> throw new Error (#22435)

    a724a3b · Andrew Clark

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

    04ccc01 · Andrew Clark

  26. Changed Scheduling Profiler marks should include thrown Errors (#22417)

    af87f5a · Brian Vaughn

  27. Changed Never attach ping listeners in legacy Suspense (#22407)

    3a50d95 · Andrew Clark

  28. Changed Re-add old Fabric Offscreen impl behind flag (#22018)

    19092ac · Andrew Clark

  29. Changed DevTools scheduling profiler: Add React component measures (#22013)

    e3049bb · Brian Vaughn

  30. Changed Scheduling profiler UX changes (#21990)

    27bf6f9 · Brian Vaughn

  31. Changed [Fabric] Fix reparenting bug in legacy Suspense mount (#21995)

    f0d354e · Andrew Clark fix · INFERRED

  32. Changed Tidy up early bailout logic at start of begin phase (#21852)

    34308b5 · Andrew Clark

  33. Changed Track which fibers scheduled the current render work (#15658)

    dc108b0 · Brian Vaughn

  34. Changed Remove Blocking Mode (again) (#20974)

    860f673 · Ricky

  35. Changed [Experiment] Lazily propagate context changes (#20890)

    c7b4497 · Andrew Clark

  36. Changed Split getComponentName into getComponentNameFromFiber and getComponentNameFromType (#20940)

    7df6572 · Brian Vaughn

  37. Changed Revert "Remove blocking mode and blocking root (#20888)" (#20916)

    ee43263 · Andrew Clark fix · INFERRED

  38. Changed Remove blocking mode and blocking root (#20888)

    553440b · Ricky

  39. Changed Land interleaved updates change in main fork (#20710)

    7cb9fd7 · Andrew Clark

  40. Changed Land rest of effects refactor in main fork (#20644)

    0fd6805 · Andrew Clark

  41. Changed Add built-in Suspense cache with support for invalidation (refreshing) (#20456)

    efc57e5 · Andrew Clark

  42. Changed Reconcile element types of lazy component yielding the same type (#20357)

    5711811 · Sebastian Markbåge

  43. Changed Rename effect fields (#19755)

    1665443 · Andrew Clark

  44. Changed Remove config argument from useTransition (#19719)

    ddd1faa · Andrew Clark

  45. Changed Clean up timeoutMs-related implementation details (#19704)

    1eaafc9 · Andrew Clark

  46. Changed Add user timing marks for scheduling profiler tool (#19223)

    40cddfe · E-Liang Tan

  47. Changed Don't bailout after Suspending in Legacy Mode (#19216)

    8bff898 · Dan Abramov

  48. Changed Re-enabled DebugTracing feature for old reconciler fork (#19161)

    1425fcb · Brian Vaughn

  49. Changed Revert "Re-enabled DebugTracing feature for old reconciler fork (#19142)" (#19159)

    d1d9054 · Luna Ruan fix · INFERRED

  50. Changed Re-enabled DebugTracing feature for old reconciler fork (#19142)

    cc7c1ae · Brian Vaughn

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

    8f05f2b · Andrew Clark

  52. Changed Remove unnecessary stack (#18707)

    b58dec9 · Sebastian Markbåge

  53. Changed Add experimental DebugTracing logger for internal use (#18531)

    22dc2e4 · Brian Vaughn

  54. Changed Enable prefer-const lint rules (#18451)

    3e94bce · Sebastian Markbåge

  55. Changed Formalize the Wakeable and Thenable types (#18391)

    64ed221 · Sebastian Markbåge

  56. Changed Bugfix: Dropped effects in Legacy Mode Suspense (#18238)

    235a6c4 · Andrew Clark fix · INFERRED

  57. Changed Remove Suspense priority warning (#17971)

    d6e08fe · Dan Abramov

  58. Changed Use fewer global variables in Hooks (#17480)

    f523b2e · Sebastian Markbåge

  59. Changed Rename createSyncRoot to createBlockingRoot (#17165)

    f6b8d31 · Dan Abramov

  60. Changed Refactor Partial Hydration (#16346)

    50addf4 · Sebastian Markbåge

  61. Changed Fix typos (#16076)

    2a0f639 · Min ho Kim

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

    113497c · Sebastian Markbåge

  63. Moved here Rename ReactFiberScheduler -> ReactFiberWorkLoop and extract throwException from Unwind (#15725)

    8af1f87 · Sebastian Markbåge

  64. Born Add stack unwinding phase for handling errors (#12201)

    94518b0 · Andrew Clark