I'm creating a SPA with React and need to avoid reloading the page when clicking tag <a> or find a way to pass an id to scroll on another "page" to the tag.
<Link to="/proyectos" className="cajaCinco"> <h2 className="title">Experiencias</h2> </Link>
Your code example looks incomplete, but generally to prevent events from performing their default action, you would use Event.preventDefault()
For example:
<a onClick={(e) => e.preventDefault()} />