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.
const ref = useRef('val');
        const [count, setCount] = useState(0);
        const [firstRef] = useState(ref);
        if (firstRef !== ref) {
          throw new Error('should never change');
        }
        if (count < 3) {
          setCount(count + 1);
        }
        return <Text text={ref.current} />;
      }
      ReactNoop.render(<Counter />);
      expect(Scheduler).toFlushAndYield(['val']);
      ReactNoop.render(<Counter />);
      expect(Scheduler).toFlushAndYield(['val']);
    });
  });
  describe('useImperativeHandle', () => {
    it('does not update when deps are the same', () => {
      const INCREMENT = 'INCREMENT';
      function reducer(state, action) {