The solution to this problem involves abandoning the classic anchor links, as they cause crashes and page reloads at the project build level. In this case, I used the react-scroll library, which allows you to use anchor links properly, while not reloading the page.
The solution to this problem involves abandoning the classic anchor links, as they cause crashes and page reloads at the project build level. In this case, I used the react-scroll library, which allows you to use anchor links properly, while not reloading the page.