---
title: "Discussion on \"How to Create a Performant \"Listening\" Table of Contents in React\" | Hashnode"
description: "Discussion on \"How to Create a Performant \"Listening\" Table of Contents in React\". Learn how to create a smooth, auto-highlighting Table of Contents using React hooks, scroll listeners, and performance-optimizing debouncing techniques."
url: "https://hashnode.com/posts/how-to-create-a-performant-listening-table-of-contents-in-react/69636103177817a769873ef6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Create a Performant "Listening" Table of Contents in React](https://yafi.hashnode.dev/how-to-create-a-performant-listening-table-of-contents-in-react?utm_source=hashnode&utm_medium=feed)

Learn how to create a smooth, auto-highlighting Table of Contents using React hooks, scroll listeners, and performance-optimizing debouncing techniques.

Jan 11 · 3 min read · yafi.hashnode.dev  
Read the article

-   [#react-javascript-webdev-frontend-ux](https://hashnode.com/tag/react-javascript-webdev-frontend-ux)

## Written by

[Muhammad Yafi Alhakim](https://hashnode.com/@yafialhakim)

@yafialhakim · Jakarta, Indonesia

  
[View profile](https://hashnode.com/@yafialhakim)

Frontend Engineer @MySkill.id

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
