GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com (truncated) — Update DevTools to use getCacheForType API by bvaughn · Pull Request #20548 · react/react

Conversation

@bvaughn

@bvaughn bvaughn commented Jan 5, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

DevTools was built with a fork of an early idea for how Suspense cache might work. This idea is incompatible with newer APIs like useTransition which unfortunately prevented me from making certain UX improvements. This PR swaps out the primary usage of this cache (there are a few) in favor of the newer unstable_getCacheForType and unstable_useCacheRefresh APIs. We can go back and update the others in follow up PRs.

Messaging changes

I've refactored the way the frontend loads component props/state/etc to hopefully make it better match the Suspense+cache model. Doing this gave up some of the small optimizations I'd added but hopefully the actual performance impact of that is minor and the overall ergonomic improvements of working with the cache API make this worth it.

The backend no longer remembers inspected paths. Instead, the frontend sends them every time and the backend sends a response with those paths. I've also added a new "force" parameter that the frontend can use to tell the backend to send a response even if the component hasn't rendered since the last time it asked. (This is used to get data for newly inspected paths.)

Initial inspection...

front |                                                      | back
      | -- "inspect" (id:1, paths:[], force:true) ---------> |
      | <------------------------ "inspected" (full-data) -- |

1 second passes with no updates...

      | -- "inspect" (id:1, paths:[], force:false) --------> |
      | <------------------------ "inspected" (no-change) -- |

User clicks to expand a path, aka hydrate...

      | -- "inspect" (id:1, paths:['foo'], force:true) ----> |
      | <------------------------ "inspected" (full-data) -- |

1 second passes during which there is an update...

      | -- "inspect" (id:1, paths:['foo'], force:false) ---> |
      | <----------------- "inspectedElement" (full-data) -- |

Clear errors/warnings transition

Previously this meant there would be a delay after clicking the "clear" button. The UX after this change is much nicer:
Suspense transition while clearing errors and warnings

Hydrating paths transition

I also added a transition to hydration (expanding "dehyrated" paths):
Suspense transition while "hydrating" properties

Better error boundaries

I also added a lower-level error boundary in case the new suspense operation ever failed. It provides a better "retry" mechanism (select a new element) so DevTools doesn't become entirely useful. Here I'm intentionally causing an error every time I select an element:

Error boundary added around inspected element panel

Improved snapshot tests

I also migrated several of the existing snapshot tests to use inline snapshots and added a new serializer for dehydrated props. Inline snapshots are easier to verify and maintain and the new serializer means dehydrated props will be formatted in a way that makes sense rather than being empty (in external snapshots) or super verbose (default inline snapshot format).

Before (in __snapshots__/inspectedElementContext-test.js.snap)
Screen Shot 2021-01-15 at 10 11 52 AM

After (inline)
Screen Shot 2021-01-15 at 10 09 17 AM

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

eps1lon reacted with rocket emoji
All reactions
  • 🚀 1 reaction
@bvaughn
bvaughn requested a review from gaearon January 5, 2021 16:27
@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Jan 5, 2021
@bvaughn bvaughn changed the title Initial step at replacing old Suspense cache with unstable_getCacheForType Update DevTools to use new unstable_getCacheForType API Jan 5, 2021
@codesandbox-ci

codesandbox-ci Bot commented Jan 5, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit cf267fe:

Sandbox Source
React Configuration
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

gaearon
gaearon reviewed Jan 5, 2021
View reviewed changes
Comment thread packages/react-devtools-shared/src/devtools/views/Components/InspectedElementContext.js Resolved

Uh oh!

There was an error while loading. Please reload this page.

gaearon
gaearon reviewed Jan 5, 2021
View reviewed changes
Comment thread packages/react-devtools-shared/src/devtools/views/Components/InspectedElementContext.js Resolved

Uh oh!

There was an error while loading. Please reload this page.

@bvaughn bvaughn changed the title Update DevTools to use new unstable_getCacheForType API DRAFT: Update DevTools to use new unstable_getCacheForType API Jan 5, 2021
gaearon
gaearon reviewed Jan 5, 2021
View reviewed changes
Comment thread packages/react-devtools-shared/src/devtools/views/Components/InspectedElementContext.js Resolved

Uh oh!

There was an error while loading. Please reload this page.

@sizebot

sizebot commented Jan 5, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

No significant bundle size changes to report.

Size changes (stable)

Generated by 🚫 dangerJS against cf267fe

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sizebot

sizebot commented Jan 5, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Details of bundled changes.

Comparing: 95feb0e...cf267fe

react-test-renderer

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-test-renderer.development.js +2.7% +2.6% 617.67 KB 634.21 KB 130.3 KB 133.71 KB UMD_DEV
react-test-renderer.production.min.js 🔺+3.0% 🔺+3.5% 77.74 KB 80.07 KB 24.43 KB 25.3 KB UMD_PROD
ReactTestRenderer-profiling.js 0.0% 0.0% 245.03 KB 245.03 KB 44.84 KB 44.84 KB RN_FB_PROFILING
react-test-renderer.development.js +2.7% +2.6% 588.41 KB 604.12 KB 128.76 KB 132.08 KB NODE_DEV
react-test-renderer.production.min.js 🔺+3.0% 🔺+3.3% 77.55 KB 79.88 KB 24.13 KB 24.92 KB NODE_PROD

Size changes (experimental)

Generated by 🚫 dangerJS against cf267fe

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bvaughn
bvaughn force-pushed the devtools-replace-cache branch 2 times, most recently from 241f8ed to 35f2ab7 Compare January 5, 2021 21:51
@bvaughn

bvaughn commented Jan 5, 2021

Copy link
Copy Markdown
Contributor Author

Tests were failing b'c we never enabled cache for experimental test renderer builds (so the hook was missing).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bvaughn

bvaughn commented Jan 11, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Cleaned this up a bit. My component organization here is still a little janky (e.g. the reason I have the memo-busting counter). I could refactor to move the context lower, within the suspense boundary, so that I could just cache on the object itself, but I noticed a lingering update that never completes (just re-renders at an interval) the first time I use startTransition to clear a warning.

Maybe I should do a more heavy refactor and try to remove this context entirely. Something needs to poll for updates and refresh the cache but it doesn't necessarily need to be a context provider that sits above the Suspense boundary.

I may still be missing something about how the pieces for this kind of cache fit together. It's more complex than our fs/db cache implementations, since there are a couple of cases for invalidation (polled update from the backend, hydrated path, user clicked to clear errors/warnings). Normally I would refer to other places we're using the API but it seems like our useCacheRefresh API hasn't really been used for anything yet, outside of a couple of tests.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bvaughn

bvaughn commented Jan 15, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

I've refactored the way the frontend loads component props/state/etc to hopefully make it better match the Suspense+cache model. Doing this gave up some of the small optimizations I'd added but hopefully the actual performance impact of that is minor and the overall ergonomic improvements of working with the cache API make this worth it.

The backend no longer remembers inspected paths. Instead, the frontend sends them every time and the backend sends a response with those paths. I've also added a new "force" parameter that the frontend can use to tell the backend to send a response even if the component hasn't rendered since the last time it asked. (This is used to get data for newly inspected paths.)

Here's an example scenario:

Initial inspection...

front |                                                      | back
      | -- "inspect" (id:1, paths:[], force:true) ---------> |
      | <------------------------ "inspected" (full-data) -- |

1 second passes with no updates...

      | -- "inspect" (id:1, paths:[], force:false) --------> |
      | <------------------------ "inspected" (no-change) -- |

User clicks to expand a path, aka hydrate...

      | -- "inspect" (id:1, paths:['foo'], force:true) ----> |
      | <------------------------ "inspected" (full-data) -- |

1 second passes during which there is an update...

      | -- "inspect" (id:1, paths:['foo'], force:false) ---> |
      | <----------------- "inspectedElement" (full-data) -- |

Note that CI is expected to fail at the moment because I have several tests to sort out still. Actual DevTools seems to be working though based on my testing.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bvaughn

bvaughn commented Jan 15, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

All tests pass now except for "should poll for updates for the currently selected element" (in inspectedElement-test). That one's interesting because it seems like it should be passing, except the transition+refresh that get scheduled never gets rendered. Will dig in more this afternoon.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bvaughn
bvaughn force-pushed the devtools-replace-cache branch from 50ba982 to 469b0cf Compare January 15, 2021 17:13
@bvaughn

bvaughn commented Jan 15, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

The only test that's failing now is this one:

it('should poll for updates for the currently selected element', async done => {
  const Example = () => null;

  const container = document.createElement('div');
  await utils.actAsync(
    () => ReactDOM.render(<Example a={1} b="abc" />, container),
    false,
  );

  const id = ((store.getElementIDAtIndex(0): any): number);

  let inspectedElement = null;

  function Suspender({target}) {
    inspectedElement = useInspectedElement(id);
    return null;
  }

  let renderer;

  await utils.actAsync(() => {
    renderer = TestRenderer.create(
      <Contexts defaultSelectedElementID={id} defaultSelectedElementIndex={0}>
        <React.Suspense fallback={null}>
          <Suspender target={id} />
        </React.Suspense>
      </Contexts>,
    );
  }, false);
  expect(inspectedElement.props).toMatchInlineSnapshot(`
    Object {
      "a": 1,
      "b": "abc",
    }
  `);

  await utils.actAsync(
    () => ReactDOM.render(<Example a={2} b="def" />, container),
    false,
  );

  // Wait for our check-for-updates poll to get the new data.
  jest.runOnlyPendingTimers();
  await Promise.resolve();

  expect(inspectedElement.props).toMatchInlineSnapshot(`
    Object {
      "a": 2,
      "b": "def",
    }
  `);

  done();
});

The bit that waits for the check-for-updates poll works, in that– new data comes in and I refresh the cache, but that update never goes anywhere. React doesn't re-render <Suspender> afterward and so my test fails.

Interestingly the test passes if I include both of the following after the ReactDOM update render:

// Wait for our check-for-updates poll to get the new data.
jest.runOnlyPendingTimers();
await Promise.resolve();

await utils.actAsync(
  () =>
    renderer.update(
      <Contexts
        defaultSelectedElementID={id}
        defaultSelectedElementIndex={0}>
        <React.Suspense fallback={null}>
          <Suspender target={id} />
        </React.Suspense>
      </Contexts>,
    ),
  false,
);

But if I only include one of the two, the test fails. It seems like either one should be sufficient by itself.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bvaughn bvaughn changed the title DRAFT: Update DevTools to use new unstable_getCacheForType API Update DevTools to use getCacheForType API Jan 15, 2021
Brian Vaughn added 7 commits January 15, 2021 16:40
Brian Vaughn
DevTools: Replace legacy Suspense cache with unstable_getCacheForType
61663af
Brian Vaughn
Enable cache for EXPIREMENTAL test renderer builds
084a2b0
Brian Vaughn
Removed duplicate inspected element from local state
13f2b53
Brian Vaughn
Update backend/frontend API to be more compatible with typical Suspen…
00763a0
…se cache usage
Brian Vaughn
Fixed all but one test
373e54e
Brian Vaughn
You're killing me, Jest
9fd6735
Brian Vaughn
Fixed last test but with an unsatisfying solution
4244ffa
@bvaughn
bvaughn marked this pull request as ready for review January 15, 2021 21:42
@bvaughn
bvaughn force-pushed the devtools-replace-cache branch from 6e9805c to 4244ffa Compare January 15, 2021 21:42
@bvaughn

bvaughn commented Jan 15, 2021

Copy link
Copy Markdown
Contributor Author

Okay. That test is still not great and I'd love to get input on how to resolve it. Otherwise I think this PR is ready for another set of eyes!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bvaughn
bvaughn requested review from acdlite and rickhanlonii January 15, 2021 21:42
Brian Vaughn added 2 commits January 15, 2021 16:50
Brian Vaughn
Updated a TODO comment
0c67780
Brian Vaughn
Fix "yarn build-for-devtools" command
cf267fe
acdlite
acdlite approved these changes Jan 15, 2021
View reviewed changes

@acdlite acdlite left a comment

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat! I only reviewed the part directly related to the cache API. I don't think I can comment on the rest of it because I don't know the DevTools codebase that well. Lemme know if you want a more thorough review.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bvaughn reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@eps1lon eps1lon mentioned this pull request Jan 19, 2021
Use toMatchInlineSnapshot for dehydrated values #20618
Merged
1 task done
@eps1lon

eps1lon commented Jan 19, 2021

Copy link
Copy Markdown
Collaborator

That test is still not great and I'd love to get input on how to resolve it.

@bvaughn Does #20618 help?

bvaughn reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bvaughn

bvaughn commented Jan 19, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Thanks @acdlite! I wish I knew why that one test required such approach to pass, but I think that's something I can follow up with later.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bvaughn bvaughn closed this Jan 19, 2021
@bvaughn bvaughn reopened this Jan 19, 2021
@bvaughn
bvaughn merged commit af16f75 into react:master Jan 19, 2021
@bvaughn
bvaughn deleted the devtools-replace-cache branch January 19, 2021 14:51
@bvaughn

bvaughn commented Jan 19, 2021

Copy link
Copy Markdown
Contributor Author

That test is still not great and I'd love to get input on how to resolve it.

@bvaughn Does #20618 help?

@eps1lon That comment was referring to this which is different.

Your findings with the inline snapshot are interesting though. So the real issue was the async -> done() callback? (Obviously the date formatting issue but that's separate.) Maybe we can discuss the pros and cons of that in a follow up PR :)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bvaughn bvaughn mentioned this pull request Feb 3, 2021
Add built-in Suspense cache with support for invalidation (refreshing) #20456
Merged
@bvaughn bvaughn mentioned this pull request Feb 10, 2021
DevTools: Restore inspect-element bridge optimizations #20789
Merged
3 of 4 tasks
facebook-github-bot pushed a commit to react/react-native that referenced this pull request Feb 26, 2021
@rickhanlonii @facebook-github-bot
React Native sync for revisions c3e20f1...0cf9fc1
ab53332
Summary:
This sync includes the following changes:
- **[0cf9fc1](react/react@0cf9fc10b )**: Fix React Native flow types ([#20889](react/react#20889)) //<Ricky>//
- **[c581cdd](react/react@c581cdd48 )**: Schedule sync updates in microtask ([#20872](react/react#20872)) //<Ricky>//
- **[90bde65](react/react@90bde6505 )**: Add SuspenseList to react-is ([#20874](react/react#20874)) //<Brian Vaughn>//
- **[8336f19](react/react@8336f19aa )**: Update React Native types ([#20883](react/react#20883)) //<Rubén Norte>//
- **[9209c30](react/react@9209c30ff )**: Add StrictMode level prop and createRoot unstable_strictModeLevel option ([#20849](react/react#20849)) //<Brian Vaughn>//
- **[e5f6b91](react/react@e5f6b91d2 )**: Add Lane labels to scheduling profiler marks ([#20808](react/react#20808)) //<Brian Vaughn>//
- **[c62986c](react/react@c62986cfd )**: Add additional messaging for RulesOfHooks lint error ([#20692](react/react#20692)) //<Anthony Garritano>//
- **[78d2f2d](react/react@78d2f2d30 )**: Fabric-compatible implementation of `JSReponder` feature ([#20768](react/react#20768)) //<Valentin Shergin>//
- **[4d28eca](react/react@4d28eca97 )**: Land enableNonInterruptingNormalPri ([#20859](react/react#20859)) //<Ricky>//
- **[8af27ae](react/react@8af27aeed )**: Remove scheduler sampling profiler shared array buffer ([#20840](react/react#20840)) //<Brian Vaughn>//
- **[af3d526](react/react@af3d52611 )**: Disable (unstable) scheduler sampling profiler for OSS builds ([#20832](react/react#20832)) //<Brian Vaughn>//
- **[8fa0ccc](react/react@8fa0ccca0 )**: fix: use SharedArrayBuffer only when cross-origin isolation is enabled ([#20831](react/react#20831)) //<Toru Kobayashi>//
- **[0991647](react/react@099164792 )**: Use setImmediate when available over MessageChannel ([#20834](react/react#20834)) //<Dan Abramov>//
- **[e2fd460](react/react@e2fd460cc )**: Bailout in sync task if work is not sync ([#20813](react/react#20813)) //<Andrew Clark>//
- **[1a74726](react/react@1a7472624 )**: Add `supportsMicrotasks` to the host config ([#20809](react/react#20809)) //<Andrew Clark>//
- **[696e736](react/react@696e736be )**: Warn if static flag is accidentally cleared ([#20807](react/react#20807)) //<Andrew Clark>//
- **[483358c](react/react@483358c38 )**: Omit TransitionHydrationLane from TransitionLanes ([#20802](react/react#20802)) //<Andrew Clark>//
- **[78ec97d](react/react@78ec97d34 )**: Fix typo ([#20466](react/react#20466)) //<inokawa>//
- **[6cdc359](react/react@6cdc35972 )**: fix comments of markUpdateLaneFromFiberToRoot ([#20546](react/react#20546)) //<neroneroffy>//
- **[47dd9f4](react/react@47dd9f441 )**: Remove fakeCallbackNode ([#20799](react/react#20799)) //<Andrew Clark>//
- **[114ab52](react/react@114ab5295 )**: Make remaining empty lanes Transition lanes ([#20793](react/react#20793)) //<Andrew Clark>//
- **[d3d2451](react/react@d3d2451a0 )**: Use a single lane per priority level ([#20791](react/react#20791)) //<Andrew Clark>//
- **[eee874c](react/react@eee874ce6 )**: Cross-fork lint: Support named export declaration ([#20784](react/react#20784)) //<Andrew Clark>//
- **[3b870b1](react/react@3b870b1e0 )**: Lane enableTransitionEntanglement flag ([#20775](react/react#20775)) //<Andrew Clark>//
- **[d1845ad](react/react@d1845ad0f )**: Default updates should not interrupt transitions ([#20771](react/react#20771)) //<Andrew Clark>//
- **[3499c34](react/react@3499c343a )**: Apply #20778 to new fork, too ([#20782](react/react#20782)) //<Andrew Clark>//
- **[3d10eca](react/react@3d10eca24 )**: Move scheduler priority check into ReactDOM ([#20778](react/react#20778)) //<Dan Abramov>//
- **[97fce31](react/react@97fce318a )**: Experiment: Infer the current event priority from the native event ([#20748](react/react#20748)) //<Dan Abramov>//
- **[6c526c5](react/react@6c526c515 )**: Don't shift interleaved updates to separate lane ([#20681](react/react#20681)) //<Andrew Clark>//
- **[35f7441](react/react@35f7441d3 )**: Use Lanes instead of priority event constants ([#20762](react/react#20762)) //<Dan Abramov>//
- **[a014c91](react/react@a014c915c )**: Parallel transitions: Assign different lanes to consecutive transitions ([#20672](react/react#20672)) //<Andrew Clark>//
- **[77754ae](react/react@77754ae61 )**: Decouple event priority list from event name list ([#20760](react/react#20760)) //<Dan Abramov>//
- **[b5bac18](react/react@b5bac1821 )**: Align event group constant naming with lane naming ([#20744](react/react#20744)) //<Dan Abramov>//
- **[4ecf119](react/react@4ecf11977 )**: Remove the Fundamental internals ([#20745](react/react#20745)) //<Dan Abramov>//
- **[eeb1325](react/react@eeb1325b0 )**: Fix UMD bundles by removing usage of global ([#20743](react/react#20743)) //<Dan Abramov>//
- **[0935a1d](react/react@0935a1db3 )**: Delete consolidateBundleSizes script ([#20724](react/react#20724)) //<Andrew Clark>//
- **[7cb9fd7](react/react@7cb9fd7ef )**: Land interleaved updates change in main fork ([#20710](react/react#20710)) //<Andrew Clark>//
- **[dc27b5a](react/react@dc27b5aaa )**: useMutableSource: Use StrictMode double render to detect render phase mutation ([#20698](react/react#20698)) //<Andrew Clark>//
- **[bb1b795](react/react@bb1b7951d )**: fix: don't run effects if a render phase update results in unchanged deps ([#20676](react/react#20676)) //<Sebastian Silbermann>//
- **[766a7a2](react/react@766a7a28a )**: Improve React error message when mutable sources are mutated during render ([#20665](react/react#20665)) //<Brian Vaughn>//
- **[a922f1c](react/react@a922f1c71 )**: Fix cache refresh bug that broke DevTools ([#20687](react/react#20687)) //<Andrew Clark>//
- **[e51bd6c](react/react@e51bd6c1f )**: Queue discrete events in microtask ([#20669](react/react#20669)) //<Ricky>//
- **[aa736a0](react/react@aa736a0fa )**: Add queue microtask to host configs ([#20668](react/react#20668)) //<Ricky>//
- **[deeeaf1](react/react@deeeaf1d2 )**: Entangle overlapping transitions per queue ([#20670](react/react#20670)) //<Andrew Clark>//
- **[e316f78](react/react@e316f7855 )**: RN: Implement `sendAccessibilityEvent` in RN Renderer that proxies between Fabric/non-Fabric ([#20554](react/react#20554)) //<Joshua Gross>//
- **[9c32622](react/react@9c32622cf )**: Improve tests that use discrete events ([#20667](react/react#20667)) //<Ricky>//
- **[d13f5b9](react/react@d13f5b953 )**: Experiment: Unsuspend all lanes on update ([#20660](react/react#20660)) //<Andrew Clark>//
- **[a511dc7](react/react@a511dc709 )**: Error for deferred value and transition in Server Components ([#20657](react/react#20657)) //<Sebastian Markbåge>//
- **[fb3f63f](react/react@fb3f63f1a )**: Remove lazy invokation of segments ([#20656](react/react#20656)) //<Sebastian Markbåge>//
- **[895ae67](react/react@895ae67fd )**: Improve error boundary handling for unmounted subtrees ([#20645](react/react#20645)) //<Brian Vaughn>//
- **[f15f8f6](react/react@f15f8f64b )**: Store interleaved updates on separate queue until end of render ([#20615](react/react#20615)) //<Andrew Clark>//
- **[0fd6805](react/react@0fd6805c6 )**: Land rest of effects refactor in main fork ([#20644](react/react#20644)) //<Andrew Clark>//
- **[a6b5256](react/react@a6b5256a2 )**: Refactored recursive strict effects method to be iterative ([#20642](react/react#20642)) //<Brian Vaughn>//
- **[3957853](react/react@3957853ae )**: Re-add "strict effects mode" for legacy roots only ([#20639](react/react#20639)) //<Brian Vaughn>//
- **[fceb75e](react/react@fceb75e89 )**: Delete remaining references to effect list ([#20625](react/react#20625)) //<Andrew Clark>//
- **[741dcbd](react/react@741dcbdbe )**: Schedule passive phase whenever there's a deletion ([#20624](react/react#20624)) //<Andrew Clark>//
- **[11a983f](react/react@11a983fc7 )**: Remove references to Deletion flag ([#20623](react/react#20623)) //<Andrew Clark>//
- **[2e948e0](react/react@2e948e0d9 )**: Avoid .valueOf to close #20594 ([#20617](react/react#20617)) //<Dima Tisnek>//
- **[2a646f7](react/react@2a646f73e )**: Convert snapshot phase to depth-first traversal ([#20622](react/react#20622)) //<Andrew Clark>//
- **[fb3e158](react/react@fb3e158a6 )**: Convert ReactSuspenseWithNoopRenderer tests to use built-in cache ([#20601](react/react#20601)) //<Andrew Clark>//
- **[e0fd9e6](react/react@e0fd9e67f )**: Use update lane priority in work loop ([#20621](react/react#20621)) //<Ricky>//
- **[58e8304](react/react@58e830448 )**: Remove custom error message from hook access error ([#20604](react/react#20604)) //<Andrew Clark>//
- **[9043626](react/react@9043626f0 )**: Cache tests: Make it easier to test many caches ([#20600](react/react#20600)) //<Andrew Clark>//
- **[af0bb68](react/react@af0bb68e8 )**: Land #20595 and #20596 in main fork ([#20602](react/react#20602)) //<Andrew Clark>//
- **[2b69851](react/react@2b6985114 )**: build-combined: Fix failures  when renaming across devices ([#20620](react/react#20620)) //<Sebastian Silbermann>//
- **[af16f75](react/react@af16f755d )**: Update DevTools to use getCacheForType API ([#20548](react/react#20548)) //<Brian Vaughn>//
- **[95feb0e](react/react@95feb0e70 )**: Convert mutation phase to depth-first traversal ([#20596](react/react#20596)) //<Andrew Clark>//
- **[6132919](react/react@6132919bf )**: Convert layout phase to depth-first traversal ([#20595](react/react#20595)) //<Andrew Clark>//
- **[42e04b4](react/react@42e04b46d )**: Fix: Detach deleted fiber's alternate, too ([#20587](react/react#20587)) //<Andrew Clark>//
- **[a656ace](react/react@a656ace8d )**: Deletion effects should fire parent -> child ([#20584](react/react#20584)) //<Andrew Clark>//
- **[e6ed2bc](react/react@e6ed2bcf4 )**: Update package.json versions as part of build step ([#20579](react/react#20579)) //<Andrew Clark>//
- **[eb0fb38](react/react@eb0fb3823 )**: Build stable and experimental with same command ([#20573](react/react#20573)) //<Andrew Clark>//
- **[e8eff11](react/react@e8eff119e )**: Fix ESLint crash on empty react effect hook ([#20385](react/react#20385)) //<Christian Ruigrok>//
- **[2765955](react/react@27659559e )**: Add useRefresh hook to react-debug-tools ([#20460](react/react#20460)) //<Brian Vaughn>//
- **[99554dc](react/react@99554dc36 )**: Add Flight packages to experimental allowlist ([#20486](react/react#20486)) //<Andrew Clark>//
- **[efc57e5](react/react@efc57e5cb )**: Add built-in Suspense cache with support for invalidation (refreshing) ([#20456](react/react#20456)) //<Andrew Clark>//
- **[00a5b08](react/react@00a5b08e2 )**: Remove PassiveStatic optimization //<Andrew Clark>//
- **[a6329b1](react/react@a6329b105 )**: Don't clear static flags in resetWorkInProgress //<Andrew Clark>//
- **[1cf59f3](react/react@1cf59f34b )**: Convert passive unmount phase to tree traversal //<Andrew Clark>//
- **[ab29695](react/react@ab29695a0 )**: Defer more field detachments to passive phase //<Andrew Clark>//
- **[d37d7a4](react/react@d37d7a4bb )**: Convert passive mount phase to tree traversal //<Andrew Clark>//
- **[19e15a3](react/react@19e15a398 )**: Add PassiveStatic to trees with passive effects //<Andrew Clark>//
- **[ff17fc1](react/react@ff17fc176 )**: Don't clear other flags when adding Deletion //<Andrew Clark>//
- **[5687864](react/react@5687864eb )**: Add back disableSchedulerTimeoutInWorkLoop flag ([#20482](react/react#20482)) //<Ricky>//
- **[9f338e5](react/react@9f338e5d7 )**: clone json obj in react native flight client host config parser ([#20474](react/react#20474)) //<Luna Ruan>//
- **[4e62fd2](react/react@4e62fd271 )**: clone json obj in relay flight client host config parser ([#20465](react/react#20465)) //<Luna Ruan>//
- **[070372c](react/react@070372cde )**: [Flight] Fix webpack watch mode issue ([#20457](react/react#20457)) //<Dan Abramov>//
- **[0f80dd1](react/react@0f80dd148 )**: [Flight] Support concatenated modules in Webpack plugin ([#20449](react/react#20449)) //<Dan Abramov>//
- **[daf38ec](react/react@daf38ecdf )**: [Flight] Use lazy reference for existing modules ([#20445](react/react#20445)) //<Dan Abramov>//
- **[3f9205c](react/react@3f9205c33 )**: Regression test: SuspenseList causes lost unmount ([#20433](react/react#20433)) //<Andrew Clark>//
- **[cdfde3a](react/react@cdfde3ae1 )**: Always rethrow original error when we replay errors ([#20425](react/react#20425)) //<Sebastian Markbåge>//
- **[b15d6e9](react/react@b15d6e93e )**: [Flight] Make PG and FS server-only ([#20424](react/react#20424)) //<Dan Abramov>//
- **[40ff239](react/react@40ff2395e )**: [Flight] Prevent non-Server imports of aliased Server entrypoints ([#20422](react/react#20422)) //<Dan Abramov>//
- **[94aa365](react/react@94aa365e3 )**: [Flight] Fix webpack plugin to use chunk groups ([#20421](react/react#20421)) //<Dan Abramov>//
- **[842ee36](react/react@842ee367e )**: [Flight] Rename the shared entry point ([#20420](react/react#20420)) //<Dan Abramov>//
- **[dbf40ef](react/react@dbf40ef75 )**: Put .server.js at the end of bundle filenames ([#20419](react/react#20419)) //<Dan Abramov>//
- **[03126dd](react/react@03126dd08 )**: [Flight] Add read-only fs methods ([#20412](react/react#20412)) //<Dan Abramov>//
- **[b51a686](react/react@b51a686a9 )**: Turn on double effects for www test renderer ([#20416](react/react#20416)) //<Brian Vaughn>//
- **[56a632a](react/react@56a632adb )**: Double Invoke Effects in __DEV__ (in old reconciler fork) ([#20415](react/react#20415)) //<Brian Vaughn>//
- **[1a24223](react/react@1a2422337 )**: fixed typo ([#20351](react/react#20351)) //<togami2864>//
- **[a233c9e](react/react@a233c9e2a )**: Rename internal cache helpers ([#20410](react/react#20410)) //<Dan Abramov>//
- **[6a4b12b](react/react@6a4b12b81 )**: [Flight] Add rudimentary FS binding ([#20409](react/react#20409)) //<Dan Abramov>//
- **[7659949](react/react@7659949d6 )**: Clear `deletions` in `detachFiber` ([#20401](react/react#20401)) //<Andrew Clark>//
- **[b9680ae](react/react@b9680aef7 )**: Cache react-fetch results in the Node version ([#20407](react/react#20407)) //<Dan Abramov>//
- **[cdae31a](react/react@cdae31ab8 )**: Fix typo ([#20279](react/react#20279)) //<inokawa>//
- **[51a7cfe](react/react@51a7cfe21 )**: Fix typo ([#20300](react/react#20300)) //<Hollow Man>//
- **[373b297](react/react@373b297c5 )**: fix: Fix typo in react-reconciler docs ([#20284](react/react#20284)) //<Sam Zhou>//
- **[1b5ca99](react/react@1b5ca9906 )**: Fix module ID deduplication ([#20406](react/react#20406)) //<Dan Abramov>//
- **[5fd9db7](react/react@5fd9db732 )**: [Flight] Rename react-transport-... packages to react-server-... ([#20403](react/react#20403)) //<Sebastian Markbåge>//
- **[ce40f1d](react/react@ce40f1dc2 )**: Use assets API + writeToDisk instead of directly writing to disk ([#20402](react/react#20402)) //<Sebastian Markbåge>//
- **[b66ae09](react/react@b66ae09b6 )**: Track subtreeFlags et al with bubbleProperties //<Andrew Clark>//
- **[de75315](react/react@de75315d7 )**: Track deletions using an array on the parent //<Andrew Clark>//
- **[1377e46](react/react@1377e465d )**: Add Placement bit without removing others ([#20398](react/react#20398)) //<Andrew Clark>//
- **[18d7574](react/react@18d7574ae )**: Remove `catch` from Scheduler build ([#20396](react/react#20396)) //<Andrew Clark>//
- **[30dfb86](react/react@30dfb8602 )**: [Flight] Basic scan of the file system to find Client modules ([#20383](react/react#20383)) //<Sebastian Markbåge>//
- **[9b80600](react/react@9b8060041 )**: Error when the number of parameters to a query changes ([#20379](react/react#20379)) //<Dan Abramov>//
- **[60e4a76](react/react@60e4a76fa )**: [Flight] Add rudimentary PG binding ([#20372](react/react#20372)) //<Dan Abramov>//
- **[88ef957](react/react@88ef95712 )**: Fork ReactFiberLane ([#20371](react/react#20371)) //<Andrew Clark>//
- **[41c5d00](react/react@41c5d00fc )**: [Flight] Minimal webpack plugin ([#20228](react/react#20228)) //<Dan Abramov>//
- **[e23673b](react/react@e23673b51 )**: [Flight] Add getCacheForType() to the dispatcher ([#20315](react/react#20315)) //<Dan Abramov>//
- **[555eeae](react/react@555eeae33 )**: Add disableNativeComponentFrames flag ([#20364](react/react#20364)) //<Philipp Spiess>//
- **[148ffe3](react/react@148ffe3cf )**: Failing test for Client reconciliation ([#20318](react/react#20318)) //<Dan Abramov>//
- **[a2a0255](react/react@a2a025537 )**: Fixed invalid DevTools work tags ([#20362](react/react#20362)) //<Brian Vaughn>//
- **[5711811](react/react@5711811da )**: Reconcile element types of lazy component yielding the same type ([#20357](react/react#20357)) //<Sebastian Markbåge>//
- **[3f73dce](react/react@3f73dcee3 )**: Support named exports from client references ([#20312](react/react#20312)) //<Sebastian Markbåge>//
- **[565148d](react/react@565148d75 )**: Disallow *.server.js imports from any other files ([#20309](react/react#20309)) //<Sebastian Markbåge>//
- **[e6a0f27](react/react@e6a0f2763 )**: Profiler: Improve nested-update checks ([#20299](react/react#20299)) //<Brian Vaughn>//
- **[d93b58a](react/react@d93b58a5e )**: Add flight specific entry point for react package ([#20304](react/react#20304)) //<Sebastian Markbåge>//
- **[a81c02a](react/react@a81c02ac1 )**: Profiler onNestedUpdateScheduled accepts id as first param ([#20293](react/react#20293)) //<Brian Vaughn>//
- **[ac2cff4](react/react@ac2cff4b1 )**: Warn if commit phase error thrown in detached tree ([#20286](react/react#20286)) //<Andrew Clark>//
- **[0f83a64](react/react@0f83a64ed )**: Regression test: Missing unmount after re-order ([#20285](react/react#20285)) //<Andrew Clark>//
- **[ebf1589](react/react@ebf158965 )**: Add best-effort documentation for third-party renderers ([#20278](react/react#20278)) //<Dan Abramov>//
- **[82e99e1](react/react@82e99e1b0 )**: Add Node ESM Loader and Register Entrypoints ([#20274](react/react#20274)) //<Sebastian Markbåge>//
- **[bf7b7ae](react/react@bf7b7aeb1 )**: findDOMNode: Remove return pointer mutation ([#20272](react/react#20272)) //<Andrew Clark>//
- **[369c3db](react/react@369c3db62 )**: Add separate ChildDeletion flag ([#20264](react/react#20264)) //<Andrew Clark>//
- **[765e89b](react/react@765e89b90 )**: Reset new fork to old fork  ([#20254](react/react#20254)) //<Andrew Clark>//
- **[7548dd5](react/react@7548dd573 )**: Properly reset Profiler nested-update flag ([#20253](react/react#20253)) //<Brian Vaughn>//
- **[b44e4b1](react/react@b44e4b13a )**: Check for deletions in `hadNoMutationsEffects` ([#20252](react/react#20252)) //<Andrew Clark>//
- **[3ebf051](react/react@3ebf05183 )**: Add new effect fields to old fork, and vice versa ([#20246](react/react#20246)) //<Andrew Clark>//
- **[2fbcc98](react/react@2fbcc9806 )**: Remove cycle between ReactFiberHooks and ReactInternalTypes ([#20242](react/react#20242)) //<Paul Doyle>//
- **[504222d](react/react@504222dcd )**: Add Node ESM build option ([#20243](react/react#20243)) //<Sebastian Markbåge>//
- **[1b96ee4](react/react@1b96ee444 )**: Remove noinline directives from new commit phase ([#20241](react/react#20241)) //<Andrew Clark>//
- **[760d9ab](react/react@760d9ab57 )**: Scheduling profiler tweaks ([#20215](react/react#20215)) //<Brian Vaughn>//
- **[9403c3b](react/react@9403c3b53 )**: Add Profiler callback when nested updates are scheduled ([#20211](react/react#20211)) //<Brian Vaughn>//
- **[62efd96](react/react@62efd9618 )**: [email protected] //<Dan Abramov>//
- **[e7006d6](react/react@e7006d67d )**: Widen peer dependency range of use-subscription ([#20225](react/react#20225)) //<Billy Janitsch>//
- **[15df051](react/react@15df051c9 )**: Add warning if return pointer is inconsistent ([#20219](react/react#20219)) //<Andrew Clark>//
- **[9aca239](react/react@9aca239f1 )**: Improved dev experience when DevTools hook is disabled ([#20208](react/react#20208)) //<Alphabet Codes>//
- **[12627f9](react/react@12627f93b )**: Perform hasOwnProperty check in Relay Flight ([#20220](react/react#20220)) //<Sebastian Markbåge>//
- **[163199d](react/react@163199d8c )**: Dedupe module id generation ([#20172](react/react#20172)) //<Sebastian Markbåge>//
- **[76a6dbc](react/react@76a6dbcb9 )**: [Flight] Encode Symbols as special rows that can be referenced by models … ([#20171](react/react#20171)) //<Sebastian Markbåge>//
- **[35e53b4](react/react@35e53b465 )**: [Flight] Simplify Relay row protocol ([#20168](react/react#20168)) //<Sebastian Markbåge>//
- **[16e6dad](react/react@16e6dadba )**: Encode throwing server components as lazy throwing references ([#20217](react/react#20217)) //<Sebastian Markbåge>//
- **[c896cf9](react/react@c896cf961 )**: Set return pointer when reusing current tree ([#20212](react/react#20212)) //<Andrew Clark>//
- **[0898660](react/react@089866015 )**: Add version of scheduler that only swaps MessageChannel for postTask ([#20206](react/react#20206)) //<Ricky>//
- **[393c452](react/react@393c452e3 )**: Add "nested-update" phase to Profiler API ([#20163](react/react#20163)) //<Brian Vaughn>//
- **[13a62fe](react/react@13a62feab )**: Fix path for SchedulerFeatureFlags ([#20200](react/react#20200)) //<Ricky>//
- **[7a73d6a](react/react@7a73d6a0f )**: (Temporarily) revert unmounting error boundaries changes ([#20147](react/react#20147)) //<Brian Vaughn>//
- **[c29710a](react/react@c29710a57 )**: fix: useImperativeMethods to useImperativeHandle ([#20194](react/react#20194)) //<Jack Works>//

jest_e2e[run_all_tests]

Changelog:
[General][Changed] - React Native sync for revisions c3e20f1...4d28eca

Reviewed By: mdvacca

Differential Revision: D26583597

fbshipit-source-id: a042df12c587fa9248d8de6f0b21b3ab231b3a7d
facebook-github-bot pushed a commit to react/react-native that referenced this pull request Mar 17, 2021
@JoshuaGross @facebook-github-bot
React Sync for revisions c3e20f1... c9f6d0a
85f9b7a
Summary:
This sync includes the following changes:
- **[b9c4a01](react/react@b9c4a01f7 )**: Allow the streaming config to decide how to precompute or compute chunks ([#21008](react/react#21008)) //<Sebastian Markbåge>//
- **[c06d245](react/react@c06d245fc )**: Update devtools-extensions build script to reflect changes in local b… ([#21004](react/react#21004)) //<Hector Rincon>//
- **[14e4fd1](react/react@14e4fd1ff )**: [Fizz] Move DOM/Native format configs to their respective packages ([#20994](react/react#20994)) //<Sebastian Markbåge>//
- **[f2b6bf7](react/react@f2b6bf7c8 )**: [Fizz] Destroy the stream with an error if the root throws ([#20992](react/react#20992)) //<Sebastian Markbåge>//
- **[10cc400](react/react@10cc40018 )**: Basic Fizz Architecture ([#20970](react/react#20970)) //<Sebastian Markbåge>//
- **[b7e6310](react/react@b7e631066 )**: Stop tracking roots with pending discrete updates ([#20978](react/react#20978)) //<Andrew Clark>//
- **[860f673](react/react@860f673a7 )**: Remove Blocking Mode (again) ([#20974](react/react#20974)) //<Ricky>//
- **[acde654](react/react@acde65469 )**: Unify InputDiscreteLane with SyncLane ([#20968](react/react#20968)) //<Ricky>//
- **[6556e2a](react/react@6556e2a87 )**: Cleaned up unused PassiveUnmountPendingDev DEV flag ([#20973](react/react#20973)) //<Brian Vaughn>//
- **[60182d6](react/react@60182d64c )**: Cleanup tests using runWithPriority. ([#20958](react/react#20958)) //<Ricky>//
- **[e4d4b70](react/react@e4d4b7074 )**: Land enableNativeEventPriorityInference ([#20955](react/react#20955)) //<Ricky>//
- **[73e900b](react/react@73e900b0e )**: Land enableDiscreteEventMicroTasks ([#20954](react/react#20954)) //<Ricky>//
- **[41e62e7](react/react@41e62e771 )**: Remove runWithPriority internally //<Rick Hanlon>//
- **[431e76e](react/react@431e76e2d )**: Switch callsites over to update lane priority //<Rick Hanlon>//
- **[e89d74e](react/react@e89d74ee6 )**: Remove decoupleUpdatePriorityFromScheduler //<Rick Hanlon>//
- **[ca15606](react/react@ca15606d8 )**: chore(build):  Ensure experimental builds exists on windows ([#20933](react/react#20933)) //<Sebastian Silbermann>//
- **[d745597](react/react@d74559746 )**: Use update lane priority to set pending updates on roots ([#20918](react/react#20918)) //<Ricky>//
- **[f04bcb8](react/react@f04bcb813 )**: [Bugfix] Reset `subtreeFlags` in `resetWorkInProgress` ([#20948](react/react#20948)) //<Andrew Clark>//
- **[c7b4497](react/react@c7b449798 )**: [Experiment] Lazily propagate context changes ([#20890](react/react#20890)) //<Andrew Clark>//
- **[258b375](react/react@258b375a4 )**: Move context comparison to consumer //<Andrew Clark>//
- **[7df6572](react/react@7df65725b )**: Split getComponentName into getComponentNameFromFiber and getComponentNameFromType ([#20940](react/react#20940)) //<Brian Vaughn>//
- **[ee43263](react/react@ee4326357 )**: Revert "Remove blocking mode and blocking root ([#20888](react/react#20888))" ([#20916](react/react#20916)) //<Andrew Clark>//
- **[de0ee76](react/react@de0ee76db )**: Add unstable_strictModeLevel to test renderer ([#20914](react/react#20914)) //<Andrew Clark>//
- **[d857f9e](react/react@d857f9e4d )**: Land enableSetImmediate feature flag ([#20906](react/react#20906)) //<Dan Abramov>//
- **[553440b](react/react@553440bd1 )**: Remove blocking mode and blocking root ([#20888](react/react#20888)) //<Ricky>//
- **[38f392c](react/react@38f392ced )**: typo fix for the word 'Psuedo' ([#20894](react/react#20894)) //<Bowen>//
- **[0cf9fc1](react/react@0cf9fc10b )**: Fix React Native flow types ([#20889](react/react#20889)) //<Ricky>//
- **[c581cdd](react/react@c581cdd48 )**: Schedule sync updates in microtask ([#20872](react/react#20872)) //<Ricky>//
- **[90bde65](react/react@90bde6505 )**: Add SuspenseList to react-is ([#20874](react/react#20874)) //<Brian Vaughn>//
- **[8336f19](react/react@8336f19aa )**: Update React Native types ([#20883](react/react#20883)) //<Rubén Norte>//
- **[9209c30](react/react@9209c30ff )**: Add StrictMode level prop and createRoot unstable_strictModeLevel option ([#20849](react/react#20849)) //<Brian Vaughn>//
- **[e5f6b91](react/react@e5f6b91d2 )**: Add Lane labels to scheduling profiler marks ([#20808](react/react#20808)) //<Brian Vaughn>//
- **[c62986c](react/react@c62986cfd )**: Add additional messaging for RulesOfHooks lint error ([#20692](react/react#20692)) //<Anthony Garritano>//
- **[78d2f2d](react/react@78d2f2d30 )**: Fabric-compatible implementation of `JSReponder` feature ([#20768](react/react#20768)) //<Valentin Shergin>//
- **[4d28eca](react/react@4d28eca97 )**: Land enableNonInterruptingNormalPri ([#20859](react/react#20859)) //<Ricky>//
- **[8af27ae](react/react@8af27aeed )**: Remove scheduler sampling profiler shared array buffer ([#20840](react/react#20840)) //<Brian Vaughn>//
- **[af3d526](react/react@af3d52611 )**: Disable (unstable) scheduler sampling profiler for OSS builds ([#20832](react/react#20832)) //<Brian Vaughn>//
- **[8fa0ccc](react/react@8fa0ccca0 )**: fix: use SharedArrayBuffer only when cross-origin isolation is enabled ([#20831](react/react#20831)) //<Toru Kobayashi>//
- **[0991647](react/react@099164792 )**: Use setImmediate when available over MessageChannel ([#20834](react/react#20834)) //<Dan Abramov>//
- **[e2fd460](react/react@e2fd460cc )**: Bailout in sync task if work is not sync ([#20813](react/react#20813)) //<Andrew Clark>//
- **[1a74726](react/react@1a7472624 )**: Add `supportsMicrotasks` to the host config ([#20809](react/react#20809)) //<Andrew Clark>//
- **[696e736](react/react@696e736be )**: Warn if static flag is accidentally cleared ([#20807](react/react#20807)) //<Andrew Clark>//
- **[483358c](react/react@483358c38 )**: Omit TransitionHydrationLane from TransitionLanes ([#20802](react/react#20802)) //<Andrew Clark>//
- **[78ec97d](react/react@78ec97d34 )**: Fix typo ([#20466](react/react#20466)) //<inokawa>//
- **[6cdc359](react/react@6cdc35972 )**: fix comments of markUpdateLaneFromFiberToRoot ([#20546](react/react#20546)) //<neroneroffy>//
- **[47dd9f4](react/react@47dd9f441 )**: Remove fakeCallbackNode ([#20799](react/react#20799)) //<Andrew Clark>//
- **[114ab52](react/react@114ab5295 )**: Make remaining empty lanes Transition lanes ([#20793](react/react#20793)) //<Andrew Clark>//
- **[d3d2451](react/react@d3d2451a0 )**: Use a single lane per priority level ([#20791](react/react#20791)) //<Andrew Clark>//
- **[eee874c](react/react@eee874ce6 )**: Cross-fork lint: Support named export declaration ([#20784](react/react#20784)) //<Andrew Clark>//
- **[3b870b1](react/react@3b870b1e0 )**: Lane enableTransitionEntanglement flag ([#20775](react/react#20775)) //<Andrew Clark>//
- **[d1845ad](react/react@d1845ad0f )**: Default updates should not interrupt transitions ([#20771](react/react#20771)) //<Andrew Clark>//
- **[3499c34](react/react@3499c343a )**: Apply #20778 to new fork, too ([#20782](react/react#20782)) //<Andrew Clark>//
- **[3d10eca](react/react@3d10eca24 )**: Move scheduler priority check into ReactDOM ([#20778](react/react#20778)) //<Dan Abramov>//
- **[97fce31](react/react@97fce318a )**: Experiment: Infer the current event priority from the native event ([#20748](react/react#20748)) //<Dan Abramov>//
- **[6c526c5](react/react@6c526c515 )**: Don't shift interleaved updates to separate lane ([#20681](react/react#20681)) //<Andrew Clark>//
- **[35f7441](react/react@35f7441d3 )**: Use Lanes instead of priority event constants ([#20762](react/react#20762)) //<Dan Abramov>//
- **[a014c91](react/react@a014c915c )**: Parallel transitions: Assign different lanes to consecutive transitions ([#20672](react/react#20672)) //<Andrew Clark>//
- **[77754ae](react/react@77754ae61 )**: Decouple event priority list from event name list ([#20760](react/react#20760)) //<Dan Abramov>//
- **[b5bac18](react/react@b5bac1821 )**: Align event group constant naming with lane naming ([#20744](react/react#20744)) //<Dan Abramov>//
- **[4ecf119](react/react@4ecf11977 )**: Remove the Fundamental internals ([#20745](react/react#20745)) //<Dan Abramov>//
- **[eeb1325](react/react@eeb1325b0 )**: Fix UMD bundles by removing usage of global ([#20743](react/react#20743)) //<Dan Abramov>//
- **[0935a1d](react/react@0935a1db3 )**: Delete consolidateBundleSizes script ([#20724](react/react#20724)) //<Andrew Clark>//
- **[7cb9fd7](react/react@7cb9fd7ef )**: Land interleaved updates change in main fork ([#20710](react/react#20710)) //<Andrew Clark>//
- **[dc27b5a](react/react@dc27b5aaa )**: useMutableSource: Use StrictMode double render to detect render phase mutation ([#20698](react/react#20698)) //<Andrew Clark>//
- **[bb1b795](react/react@bb1b7951d )**: fix: don't run effects if a render phase update results in unchanged deps ([#20676](react/react#20676)) //<Sebastian Silbermann>//
- **[766a7a2](react/react@766a7a28a )**: Improve React error message when mutable sources are mutated during render ([#20665](react/react#20665)) //<Brian Vaughn>//
- **[a922f1c](react/react@a922f1c71 )**: Fix cache refresh bug that broke DevTools ([#20687](react/react#20687)) //<Andrew Clark>//
- **[e51bd6c](react/react@e51bd6c1f )**: Queue discrete events in microtask ([#20669](react/react#20669)) //<Ricky>//
- **[aa736a0](react/react@aa736a0fa )**: Add queue microtask to host configs ([#20668](react/react#20668)) //<Ricky>//
- **[deeeaf1](react/react@deeeaf1d2 )**: Entangle overlapping transitions per queue ([#20670](react/react#20670)) //<Andrew Clark>//
- **[e316f78](react/react@e316f7855 )**: RN: Implement `sendAccessibilityEvent` in RN Renderer that proxies between Fabric/non-Fabric ([#20554](react/react#20554)) //<Joshua Gross>//
- **[9c32622](react/react@9c32622cf )**: Improve tests that use discrete events ([#20667](react/react#20667)) //<Ricky>//
- **[d13f5b9](react/react@d13f5b953 )**: Experiment: Unsuspend all lanes on update ([#20660](react/react#20660)) //<Andrew Clark>//
- **[a511dc7](react/react@a511dc709 )**: Error for deferred value and transition in Server Components ([#20657](react/react#20657)) //<Sebastian Markbåge>//
- **[fb3f63f](react/react@fb3f63f1a )**: Remove lazy invokation of segments ([#20656](react/react#20656)) //<Sebastian Markbåge>//
- **[895ae67](react/react@895ae67fd )**: Improve error boundary handling for unmounted subtrees ([#20645](react/react#20645)) //<Brian Vaughn>//
- **[f15f8f6](react/react@f15f8f64b )**: Store interleaved updates on separate queue until end of render ([#20615](react/react#20615)) //<Andrew Clark>//
- **[0fd6805](react/react@0fd6805c6 )**: Land rest of effects refactor in main fork ([#20644](react/react#20644)) //<Andrew Clark>//
- **[a6b5256](react/react@a6b5256a2 )**: Refactored recursive strict effects method to be iterative ([#20642](react/react#20642)) //<Brian Vaughn>//
- **[3957853](react/react@3957853ae )**: Re-add "strict effects mode" for legacy roots only ([#20639](react/react#20639)) //<Brian Vaughn>//
- **[fceb75e](react/react@fceb75e89 )**: Delete remaining references to effect list ([#20625](react/react#20625)) //<Andrew Clark>//
- **[741dcbd](react/react@741dcbdbe )**: Schedule passive phase whenever there's a deletion ([#20624](react/react#20624)) //<Andrew Clark>//
- **[11a983f](react/react@11a983fc7 )**: Remove references to Deletion flag ([#20623](react/react#20623)) //<Andrew Clark>//
- **[2e948e0](react/react@2e948e0d9 )**: Avoid .valueOf to close #20594 ([#20617](react/react#20617)) //<Dima Tisnek>//
- **[2a646f7](react/react@2a646f73e )**: Convert snapshot phase to depth-first traversal ([#20622](react/react#20622)) //<Andrew Clark>//
- **[fb3e158](react/react@fb3e158a6 )**: Convert ReactSuspenseWithNoopRenderer tests to use built-in cache ([#20601](react/react#20601)) //<Andrew Clark>//
- **[e0fd9e6](react/react@e0fd9e67f )**: Use update lane priority in work loop ([#20621](react/react#20621)) //<Ricky>//
- **[58e8304](react/react@58e830448 )**: Remove custom error message from hook access error ([#20604](react/react#20604)) //<Andrew Clark>//
- **[9043626](react/react@9043626f0 )**: Cache tests: Make it easier to test many caches ([#20600](react/react#20600)) //<Andrew Clark>//
- **[af0bb68](react/react@af0bb68e8 )**: Land #20595 and #20596 in main fork ([#20602](react/react#20602)) //<Andrew Clark>//
- **[2b69851](react/react@2b6985114 )**: build-combined: Fix failures  when renaming across devices ([#20620](react/react#20620)) //<Sebastian Silbermann>//
- **[af16f75](react/react@af16f755d )**: Update DevTools to use getCacheForType API ([#20548](react/react#20548)) //<Brian Vaughn>//
- **[95feb0e](react/react@95feb0e70 )**: Convert mutation phase to depth-first traversal ([#20596](react/react#20596)) //<Andrew Clark>//
- **[6132919](react/react@6132919bf )**: Convert layout phase to depth-first traversal ([#20595](react/react#20595)) //<Andrew Clark>//
- **[42e04b4](react/react@42e04b46d )**: Fix: Detach deleted fiber's alternate, too ([#20587](react/react#20587)) //<Andrew Clark>//
- **[a656ace](react/react@a656ace8d )**: Deletion effects should fire parent -> child ([#20584](react/react#20584)) //<Andrew Clark>//
- **[e6ed2bc](react/react@e6ed2bcf4 )**: Update package.json versions as part of build step ([#20579](react/react#20579)) //<Andrew Clark>//
- **[eb0fb38](react/react@eb0fb3823 )**: Build stable and experimental with same command ([#20573](react/react#20573)) //<Andrew Clark>//
- **[e8eff11](react/react@e8eff119e )**: Fix ESLint crash on empty react effect hook ([#20385](react/react#20385)) //<Christian Ruigrok>//
- **[2765955](react/react@27659559e )**: Add useRefresh hook to react-debug-tools ([#20460](react/react#20460)) //<Brian Vaughn>//
- **[99554dc](react/react@99554dc36 )**: Add Flight packages to experimental allowlist ([#20486](react/react#20486)) //<Andrew Clark>//
- **[efc57e5](react/react@efc57e5cb )**: Add built-in Suspense cache with support for invalidation (refreshing) ([#20456](react/react#20456)) //<Andrew Clark>//
- **[00a5b08](react/react@00a5b08e2 )**: Remove PassiveStatic optimization //<Andrew Clark>//
- **[a6329b1](react/react@a6329b105 )**: Don't clear static flags in resetWorkInProgress //<Andrew Clark>//
- **[1cf59f3](react/react@1cf59f34b )**: Convert passive unmount phase to tree traversal //<Andrew Clark>//
- **[ab29695](react/react@ab29695a0 )**: Defer more field detachments to passive phase //<Andrew Clark>//
- **[d37d7a4](react/react@d37d7a4bb )**: Convert passive mount phase to tree traversal //<Andrew Clark>//
- **[19e15a3](react/react@19e15a398 )**: Add PassiveStatic to trees with passive effects //<Andrew Clark>//
- **[ff17fc1](react/react@ff17fc176 )**: Don't clear other flags when adding Deletion //<Andrew Clark>//
- **[5687864](react/react@5687864eb )**: Add back disableSchedulerTimeoutInWorkLoop flag ([#20482](react/react#20482)) //<Ricky>//
- **[9f338e5](react/react@9f338e5d7 )**: clone json obj in react native flight client host config parser ([#20474](react/react#20474)) //<Luna Ruan>//
- **[4e62fd2](react/react@4e62fd271 )**: clone json obj in relay flight client host config parser ([#20465](react/react#20465)) //<Luna Ruan>//
- **[070372c](react/react@070372cde )**: [Flight] Fix webpack watch mode issue ([#20457](react/react#20457)) //<Dan Abramov>//
- **[0f80dd1](react/react@0f80dd148 )**: [Flight] Support concatenated modules in Webpack plugin ([#20449](react/react#20449)) //<Dan Abramov>//
- **[daf38ec](react/react@daf38ecdf )**: [Flight] Use lazy reference for existing modules ([#20445](react/react#20445)) //<Dan Abramov>//
- **[3f9205c](react/react@3f9205c33 )**: Regression test: SuspenseList causes lost unmount ([#20433](react/react#20433)) //<Andrew Clark>//
- **[cdfde3a](react/react@cdfde3ae1 )**: Always rethrow original error when we replay errors ([#20425](react/react#20425)) //<Sebastian Markbåge>//
- **[b15d6e9](react/react@b15d6e93e )**: [Flight] Make PG and FS server-only ([#20424](react/react#20424)) //<Dan Abramov>//
- **[40ff239](react/react@40ff2395e )**: [Flight] Prevent non-Server imports of aliased Server entrypoints ([#20422](react/react#20422)) //<Dan Abramov>//
- **[94aa365](react/react@94aa365e3 )**: [Flight] Fix webpack plugin to use chunk groups ([#20421](react/react#20421)) //<Dan Abramov>//
- **[842ee36](react/react@842ee367e )**: [Flight] Rename the shared entry point ([#20420](react/react#20420)) //<Dan Abramov>//
- **[dbf40ef](react/react@dbf40ef75 )**: Put .server.js at the end of bundle filenames ([#20419](react/react#20419)) //<Dan Abramov>//
- **[03126dd](react/react@03126dd08 )**: [Flight] Add read-only fs methods ([#20412](react/react#20412)) //<Dan Abramov>//
- **[b51a686](react/react@b51a686a9 )**: Turn on double effects for www test renderer ([#20416](react/react#20416)) //<Brian Vaughn>//
- **[56a632a](react/react@56a632adb )**: Double Invoke Effects in __DEV__ (in old reconciler fork) ([#20415](react/react#20415)) //<Brian Vaughn>//
- **[1a24223](react/react@1a2422337 )**: fixed typo ([#20351](react/react#20351)) //<togami2864>//
- **[a233c9e](react/react@a233c9e2a )**: Rename internal cache helpers ([#20410](react/react#20410)) //<Dan Abramov>//
- **[6a4b12b](react/react@6a4b12b81 )**: [Flight] Add rudimentary FS binding ([#20409](react/react#20409)) //<Dan Abramov>//
- **[7659949](react/react@7659949d6 )**: Clear `deletions` in `detachFiber` ([#20401](react/react#20401)) //<Andrew Clark>//
- **[b9680ae](react/react@b9680aef7 )**: Cache react-fetch results in the Node version ([#20407](react/react#20407)) //<Dan Abramov>//
- **[cdae31a](react/react@cdae31ab8 )**: Fix typo ([#20279](react/react#20279)) //<inokawa>//
- **[51a7cfe](react/react@51a7cfe21 )**: Fix typo ([#20300](react/react#20300)) //<Hollow Man>//
- **[373b297](react/react@373b297c5 )**: fix: Fix typo in react-reconciler docs ([#20284](react/react#20284)) //<Sam Zhou>//
- **[1b5ca99](react/react@1b5ca9906 )**: Fix module ID deduplication ([#20406](react/react#20406)) //<Dan Abramov>//
- **[5fd9db7](react/react@5fd9db732 )**: [Flight] Rename react-transport-... packages to react-server-... ([#20403](react/react#20403)) //<Sebastian Markbåge>//
- **[ce40f1d](react/react@ce40f1dc2 )**: Use assets API + writeToDisk instead of directly writing to disk ([#20402](react/react#20402)) //<Sebastian Markbåge>//
- **[b66ae09](react/react@b66ae09b6 )**: Track subtreeFlags et al with bubbleProperties //<Andrew Clark>//
- **[de75315](react/react@de75315d7 )**: Track deletions using an array on the parent //<Andrew Clark>//
- **[1377e46](react/react@1377e465d )**: Add Placement bit without removing others ([#20398](react/react#20398)) //<Andrew Clark>//
- **[18d7574](react/react@18d7574ae )**: Remove `catch` from Scheduler build ([#20396](react/react#20396)) //<Andrew Clark>//
- **[30dfb86](react/react@30dfb8602 )**: [Flight] Basic scan of the file system to find Client modules ([#20383](react/react#20383)) //<Sebastian Markbåge>//
- **[9b80600](react/react@9b8060041 )**: Error when the number of parameters to a query changes ([#20379](react/react#20379)) //<Dan Abramov>//
- **[60e4a76](react/react@60e4a76fa )**: [Flight] Add rudimentary PG binding ([#20372](react/react#20372)) //<Dan Abramov>//
- **[88ef957](react/react@88ef95712 )**: Fork ReactFiberLane ([#20371](react/react#20371)) //<Andrew Clark>//
- **[41c5d00](react/react@41c5d00fc )**: [Flight] Minimal webpack plugin ([#20228](react/react#20228)) //<Dan Abramov>//
- **[e23673b](react/react@e23673b51 )**: [Flight] Add getCacheForType() to the dispatcher ([#20315](react/react#20315)) //<Dan Abramov>//
- **[555eeae](react/react@555eeae33 )**: Add disableNativeComponentFrames flag ([#20364](react/react#20364)) //<Philipp Spiess>//
- **[148ffe3](react/react@148ffe3cf )**: Failing test for Client reconciliation ([#20318](react/react#20318)) //<Dan Abramov>//
- **[a2a0255](react/react@a2a025537 )**: Fixed invalid DevTools work tags ([#20362](react/react#20362)) //<Brian Vaughn>//
- **[5711811](react/react@5711811da )**: Reconcile element types of lazy component yielding the same type ([#20357](react/react#20357)) //<Sebastian Markbåge>//
- **[3f73dce](react/react@3f73dcee3 )**: Support named exports from client references ([#20312](react/react#20312)) //<Sebastian Markbåge>//
- **[565148d](react/react@565148d75 )**: Disallow *.server.js imports from any other files ([#20309](react/react#20309)) //<Sebastian Markbåge>//
- **[e6a0f27](react/react@e6a0f2763 )**: Profiler: Improve nested-update checks ([#20299](react/react#20299)) //<Brian Vaughn>//
- **[d93b58a](react/react@d93b58a5e )**: Add flight specific entry point for react package ([#20304](react/react#20304)) //<Sebastian Markbåge>//
- **[a81c02a](react/react@a81c02ac1 )**: Profiler onNestedUpdateScheduled accepts id as first param ([#20293](react/react#20293)) //<Brian Vaughn>//
- **[ac2cff4](react/react@ac2cff4b1 )**: Warn if commit phase error thrown in detached tree ([#20286](react/react#20286)) //<Andrew Clark>//
- **[0f83a64](react/react@0f83a64ed )**: Regression test: Missing unmount after re-order ([#20285](react/react#20285)) //<Andrew Clark>//
- **[ebf1589](react/react@ebf158965 )**: Add best-effort documentation for third-party renderers ([#20278](react/react#20278)) //<Dan Abramov>//
- **[82e99e1](react/react@82e99e1b0 )**: Add Node ESM Loader and Register Entrypoints ([#20274](react/react#20274)) //<Sebastian Markbåge>//
- **[bf7b7ae](react/react@bf7b7aeb1 )**: findDOMNode: Remove return pointer mutation ([#20272](react/react#20272)) //<Andrew Clark>//
- **[369c3db](react/react@369c3db62 )**: Add separate ChildDeletion flag ([#20264](react/react#20264)) //<Andrew Clark>//
- **[765e89b](react/react@765e89b90 )**: Reset new fork to old fork  ([#20254](react/react#20254)) //<Andrew Clark>//
- **[7548dd5](react/react@7548dd573 )**: Properly reset Profiler nested-update flag ([#20253](react/react#20253)) //<Brian Vaughn>//
- **[b44e4b1](react/react@b44e4b13a )**: Check for deletions in `hadNoMutationsEffects` ([#20252](react/react#20252)) //<Andrew Clark>//
- **[3ebf051](react/react@3ebf05183 )**: Add new effect fields to old fork, and vice versa ([#20246](react/react#20246)) //<Andrew Clark>//
- **[2fbcc98](react/react@2fbcc9806 )**: Remove cycle between ReactFiberHooks and ReactInternalTypes ([#20242](react/react#20242)) //<Paul Doyle>//
- **[504222d](react/react@504222dcd )**: Add Node ESM build option ([#20243](react/react#20243)) //<Sebastian Markbåge>//
- **[1b96ee4](react/react@1b96ee444 )**: Remove noinline directives from new commit phase ([#20241](react/react#20241)) //<Andrew Clark>//
- **[760d9ab](react/react@760d9ab57 )**: Scheduling profiler tweaks ([#20215](react/react#20215)) //<Brian Vaughn>//
- **[9403c3b](react/react@9403c3b53 )**: Add Profiler callback when nested updates are scheduled ([#20211](react/react#20211)) //<Brian Vaughn>//
- **[62efd96](react/react@62efd9618 )**: [email protected] //<Dan Abramov>//
- **[e7006d6](react/react@e7006d67d )**: Widen peer dependency range of use-subscription ([#20225](react/react#20225)) //<Billy Janitsch>//
- **[15df051](react/react@15df051c9 )**: Add warning if return pointer is inconsistent ([#20219](react/react#20219)) //<Andrew Clark>//
- **[9aca239](react/react@9aca239f1 )**: Improved dev experience when DevTools hook is disabled ([#20208](react/react#20208)) //<Alphabet Codes>//
- **[12627f9](react/react@12627f93b )**: Perform hasOwnProperty check in Relay Flight ([#20220](react/react#20220)) //<Sebastian Markbåge>//
- **[163199d](react/react@163199d8c )**: Dedupe module id generation ([#20172](react/react#20172)) //<Sebastian Markbåge>//
- **[76a6dbc](react/react@76a6dbcb9 )**: [Flight] Encode Symbols as special rows that can be referenced by models … ([#20171](react/react#20171)) //<Sebastian Markbåge>//
- **[35e53b4](react/react@35e53b465 )**: [Flight] Simplify Relay row protocol ([#20168](react/react#20168)) //<Sebastian Markbåge>//
- **[16e6dad](react/react@16e6dadba )**: Encode throwing server components as lazy throwing references ([#20217](react/react#20217)) //<Sebastian Markbåge>//
- **[c896cf9](react/react@c896cf961 )**: Set return pointer when reusing current tree ([#20212](react/react#20212)) //<Andrew Clark>//
- **[0898660](react/react@089866015 )**: Add version of scheduler that only swaps MessageChannel for postTask ([#20206](react/react#20206)) //<Ricky>//
- **[393c452](react/react@393c452e3 )**: Add "nested-update" phase to Profiler API ([#20163](react/react#20163)) //<Brian Vaughn>//
- **[13a62fe](react/react@13a62feab )**: Fix path for SchedulerFeatureFlags ([#20200](react/react#20200)) //<Ricky>//
- **[7a73d6a](react/react@7a73d6a0f )**: (Temporarily) revert unmounting error boundaries changes ([#20147](react/react#20147)) //<Brian Vaughn>//
- **[c29710a](react/react@c29710a57 )**: fix: useImperativeMethods to useImperativeHandle ([#20194](react/react#20194)) //<Jack Works>//
- **[f8979e0](react/react@f8979e0e2 )**: Revert 'Fabric-compatible implementation of  feature' and have Fabric noop when setJSResponder is called for now ([#21009](react/react#21009)) //<Joshua Gross>//
- **[c9f6d0a](react/react@c9f6d0a3a )**: Sync `ReactNativeTypes` from React Native ([#21015](react/react#21015)) //<Timothy Yung>//

Changelog:
[General][Changed] - React Native sync for revisions c3e20f1...c9f6d0a

jest_e2e[run_all_tests]

Reviewed By: PeteTheHeat

Differential Revision: D27051885

fbshipit-source-id: 5b232f6093f5f2527f3b321bc8b5487934e92d70
@bvaughn bvaughn mentioned this pull request Mar 18, 2021
react-devtools-inline package now has react@experimental dependency #21023
Open
@bvaughn bvaughn mentioned this pull request Jun 7, 2021
DevTools: Show hook names based on variable usage #21641
Merged
12 of 14 tasks
koto pushed a commit to koto/react that referenced this pull request Jun 15, 2021
Brian Vaughn @koto
Update DevTools to use getCacheForType API (react#20548)
dfac6fb
DevTools was built with a fork of an early idea for how Suspense cache might work. This idea is incompatible with newer APIs like `useTransition` which unfortunately prevented me from making certain UX improvements. This PR swaps out the primary usage of this cache (there are a few) in favor of the newer `unstable_getCacheForType` and `unstable_useCacheRefresh` APIs. We can go back and update the others in follow up PRs.

### Messaging changes

I've refactored the way the frontend loads component props/state/etc to hopefully make it better match the Suspense+cache model. Doing this gave up some of the small optimizations I'd added but hopefully the actual performance impact of that is minor and the overall ergonomic improvements of working with the cache API make this worth it.

The backend no longer remembers inspected paths. Instead, the frontend sends them every time and the backend sends a response with those paths. I've also added a new "force" parameter that the frontend can use to tell the backend to send a response even if the component hasn't rendered since the last time it asked. (This is used to get data for newly inspected paths.)

_Initial inspection..._
```
front |                                                      | back
      | -- "inspect" (id:1, paths:[], force:true) ---------> |
      | <------------------------ "inspected" (full-data) -- |
```
_1 second passes with no updates..._
```
      | -- "inspect" (id:1, paths:[], force:false) --------> |
      | <------------------------ "inspected" (no-change) -- |
```
_User clicks to expand a path, aka hydrate..._
```
      | -- "inspect" (id:1, paths:['foo'], force:true) ----> |
      | <------------------------ "inspected" (full-data) -- |
```
_1 second passes during which there is an update..._
```
      | -- "inspect" (id:1, paths:['foo'], force:false) ---> |
      | <----------------- "inspectedElement" (full-data) -- |
```

### Clear errors/warnings transition
Previously this meant there would be a delay after clicking the "clear" button. The UX after this change is much improved.

### Hydrating paths transition
I also added a transition to hydration (expanding "dehyrated" paths).

### Better error boundaries
I also added a lower-level error boundary in case the new suspense operation ever failed. It provides a better "retry" mechanism (select a new element) so DevTools doesn't become entirely useful. Here I'm intentionally causing an error every time I select an element.

### Improved snapshot tests
I also migrated several of the existing snapshot tests to use inline snapshots and added a new serializer for dehydrated props. Inline snapshots are easier to verify and maintain and the new serializer means dehydrated props will be formatted in a way that makes sense rather than being empty (in external snapshots) or super verbose (default inline snapshot format).
Belle59 added a commit to Belle59/react that referenced this pull request Nov 8, 2022
@Belle59
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.