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.
' These methods should be called in an effect or event callback outside the render.',
    );
  }
  return false;
}
function createReactListener(
  event: ReactListenerEvent,
  callback: Event => void,
  target: EventTarget | ReactScopeMethods,
  destroy: Node => void,
): ReactListener {
  return {
    callback,
    destroy,
    event,
    target,
  };
}
function mountEventListener(event: ReactListenerEvent): ReactListenerMap {
  if (enableUseEventAPI) {
    const hook = mountWorkInProgressHook();
    const listenerMap: Map<
      EventTarget | ReactScopeMethods,
      ReactListener,
    > = new Map();
    const rootContainerInstance = getRootHostContainer();
    
    
    registerEvent(event, rootContainerInstance);
    const clear = () => {