Re-renders on Link hover
My component tree looks like this:
The link component is here:
And every-time I hover a Link component and the active props change, it re-renders the entire layout.
2 Replies
sunny-greenOP•3y ago
The only props on the
Link component are className
Is this expected?
Actually, even if I remove the activeProps and inactiveProps from the <Link> it still re-renders every hover.genetic-orange•3y ago
Prefetching 😉