Skip to content

perf: API docs: reduce number of React hooks on large pages by ~1,000

Warren Gifford requested to merge sg/apidocs-hook-perf into main

Created by: slimsag

We don't need useScrollToLocationHash per node (symbol, section, etc), we just need one to be on the page when it's rerendered (location change); the root of the page is good enough for achieving that.

Signed-off-by: Stephen Gutekanst [email protected]

Merge request reports

Loading