Sandbox: https://codesandbox.io/s/cranky-kapitsa-op3jh

Repro: type "a" and then after a second "b"

Expected: Eventually you'll see "ab" in all fields. Pending "..." indicator goes away.

Actual: You'll keep seeing "a" in low pri field. Pending "..." indicator is stuck.
'Sync effect',
          ]);
          
          ReactNoop.unmountRootWithID('root');
          expect(Scheduler).toFlushAndYieldThrough(['layout destroy']);
          
          expect(completePendingRequest).toErrorDev(
            "Warning: Can't perform a React state update on an unmounted component.",
          );
        });
      });
      it('still warns if there are pending passive unmount effects but not for the current fiber', () => {
        let completePendingRequest = null;
        function ComponentWithXHR() {
          Scheduler.unstable_yieldValue('Component');
          const [didLoad, setDidLoad] = React.useState(false);
          React.useLayoutEffect(() => {
            Scheduler.unstable_yieldValue('a:layout create');
            return () => {
              Scheduler.unstable_yieldValue('a:layout destroy');
            };
          }, []);
          React.useEffect(() => {
            Scheduler.unstable_yieldValue('a:passive create');
            
            completePendingRequest = () => setDidLoad(true);
          }, []);
          return didLoad;
        }
        function ComponentWithPendingPassiveUnmount() {