This project is an example of building Table Of Content in React utilizing browser Intersection Observer API
- Clone this repo using
git clone https://github.com/mohamedsamara/react-toc.git
- Move to the directory:
cd <PROJECT_NAME>
. - Run
yarn install
in order to install dependencies.
yarn dev
yarn build
yarn preview
yarn format
yarn lint
yarn test
yarn cypress:open