Skip to content

Improve Symbol sidebar performance through `useConnection` + Apollo

Warren Gifford requested to merge tr/symbol-sidebar-perf into main

Created by: umpox

The symbols for a specific blob in a specific revision are not going to change. We can safely cache this result and render quicker when navigating between sidebar tabs

  • Migrate from FilteredConnection to useConnection
  • Cache results through Apollo

https://user-images.githubusercontent.com/9516420/133441083-6ef2d53f-c74a-4052-a095-5a957859e925.mp4

Closes https://github.com/sourcegraph/sourcegraph/issues/24877

Closes https://github.com/sourcegraph/sourcegraph/issues/24408

Merge request reports

Loading