I am trying to implement goToNextChunk in merge diff view. However, I am clueless on how to proceed.
The doc says the method expects an object with state and dispatch properties. I am not getting both of them if I use ref to store the codemirror instance.