vitext
vitext copied to clipboard
Link Component
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?
I love the idea; why not? I'd love to hear other folks' ideas.
I'm going to start to work on this issue @Aslemammad