Skip to content

HAMUR_W3010: A Link receives a prop that was removed

A Link receives a prop that was removed. Warning HAMUR_W3010 belongs to hamur, client and shared app code (3001 – 3999).

Message

text
HAMUR_W3010 Link received href; write to
text
HAMUR_W3010 Link received noPrefetch; write prefetch={false}
text
HAMUR_W3010 Link received prefetch="hover"; write prefetch={false} or prefetchOn

Cause

A Link has href, noPrefetch or a string prefetch. Each has one name now (to, prefetch={false}, prefetchOn), so the prop is ignored.

Fix

Write to for href, prefetch={false} for noPrefetch, and prefetch={false} or prefetchOn for a prefetch string; hamur migrate nuxt rewrites a Nuxt app's NuxtLink.