GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Remove invokeGuardedCallback from commit phase by gaearon · Pull Request #21666 · react/react Conversation
|
|
Comparing: 101ea9f...4556567 Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: Expand to show
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| } catch (error) { | ||
| captureCommitPhaseError(fiber, fiber.return, error); | ||
| } | ||
| setCurrentDebugFiberInDEV(fiber); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Note: this is OK to call outside DEV.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
So I tested this in non-synthetic case just to be sure. Here's results from a real app rendering a (relative small) data table on input change. Before: After: It cut down rendering per keystroke from 1.2s to 300ms, so 4x DEV improvement for a common interaction. And a 100x absolute improvement. :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
* Remove invokeGuardedCallback from commit phase * Sync fork
This reverts commit a8f5e77.
|
This changed how errors thrown in effects are handled if they were children of an Error Boundary. Previously they were logged to the console and triggered the error overlay in an Error Boundary. With this change the error is no longer logged and triggers no error overlay which is different compared to errors thrown when rendering. #21712 has more context. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Summary: This sync includes the following changes: - **[43f4cc1](react/react@43f4cc160 )**: Fix failing test ([#21697](react/react#21697)) //<Dan Abramov>// - **[d0f348d](react/react@d0f348dc1 )**: Fix for failed Suspense layout semantics ([#21694](react/react#21694)) //<Brian Vaughn>// - **[bd0a963](react/react@bd0a96344 )**: Throw when `act` is used in production ([#21686](react/react#21686)) //<Andrew Clark>// - **[9343f87](react/react@9343f8720 )**: Use the server src files as entry points for the builds/tests ([#21683](react/react#21683)) //<Sebastian Markbåge>// - **[502f8a2](react/react@502f8a2a0 )**: [Fizz/Flight] Don't use default args ([#21681](react/react#21681)) //<Sebastian Markbåge>// - **[a8f5e77](react/react@a8f5e77b9 )**: Remove invokeGuardedCallback from commit phase ([#21666](react/react#21666)) //<Dan Abramov>// - **[dbe3363](react/react@dbe3363cc )**: [Fizz] Implement Legacy renderToString and renderToNodeStream on top of Fizz ([#21276](react/react#21276)) //<Sebastian Markbåge>// - **[101ea9f](react/react@101ea9f55 )**: Set deletedTreeCleanUpLevel to 3 ([#21679](react/react#21679)) //<Dan Abramov>// - **[1a106bd](react/react@1a106bdc2 )**: Wrap eventhandle-specific logic in a flag ([#21657](react/react#21657)) //<Dan Abramov>// - **[cb30388](react/react@cb30388d1 )**: Export React Native `AttributeType` Types ([#21661](react/react#21661)) //<Timothy Yung>// - **[c153679](react/react@c1536795c )**: Revert "Make enableSuspenseLayoutEffectSemantics static for www ([#21617](react/react#21617))" ([#21656](react/react#21656)) //<Sebastian Markbåge>// Changelog: [General][Changed] - React Native sync for revisions c96b78e...568dc35 jest_e2e[run_all_tests] Reviewed By: rickhanlonii Differential Revision: D29303157 fbshipit-source-id: 90952885eb2264f4effa04070357b80700bb9be3
* Remove invokeGuardedCallback from commit phase * Sync fork
* Remove invokeGuardedCallback from commit phase * Sync fork
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.