RemixData Attributes

Prevent progress

Prevent the progress bar from starting

You can prevent the progress bar from starting by adding the data-prevent-progress={true} attribute.

Usage

<Link to="/dashboard">
  <span>Dashboard</span>
  <span onClick={(e) => e.preventDefault()} data-prevent-progress={true}>
    preventDefault
  </span>
</Link>

On this page