Reload navigation

When navigating to a new page, routes that are present in the layout of both pages will reuse their loader result without invoking the loader again.

To force a reload of all route loaders of the new page, add the reload property to the Link or Form element.

<Link href="/" reload={true}>Navigate</Link>

<Form action="/" reload={true}>
	<button>Navigate</button>
</Form>

Or use the reload option when navigating programmatically;

navigate('/', { reload: true });

Not specifying a target url will default to the current url, effectively reloading the current page.

<Link reload>Reload</Link>

<Form reload>
	<button>Reload</button>
</Form>

Or reloading the current page programmatically;

navigate({ reload: true });