vitext icon indicating copy to clipboard operation
vitext copied to clipboard

Link Component

Open Aslemammad opened this issue 4 years ago • 3 comments
trafficstars

Next/Link in vitext.

Aslemammad avatar Aug 06 '21 16:08 Aslemammad

Just an idea: What do you think about using plain old <a href /> for routing?

Cuz Next's link is literally the most irritating thing. <Link> <a href /> </Link> can be frustrating to write everytime.

We can augment ambient d.ts and add our own attributes to a href, like <a href="" prefetch noscroll /> etc

it would lead to a simpler API surface.

Your thoughts?

PuruVJ avatar Aug 06 '21 17:08 PuruVJ

I love the idea; why not? I'd love to hear other folks' ideas.

Aslemammad avatar Aug 06 '21 17:08 Aslemammad

I'm going to start to work on this issue @Aslemammad

Am1rArsalan avatar Jan 09 '22 08:01 Am1rArsalan