Refactors renderDocList to use a DocumentFragment for batching element insertions, preventing multiple reflows and repaints in the loop. Co-authored-by: Horizontal42 <75383519+Horizontal42@users.noreply.github.com>