Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm not sure if they are dogfooding their own framework, but it's annoying that the cards on the home page won't even let you select their content without going straight to a different page. It's a subtle breakage of `a href` behavior but I see that on a lot of sites where I'd like to copy a value and instead an action fires off when I don't want to.


Its worth pointing out that Next does not provide react components like cards - that is a separate implementation and just not a part of next.js.


this seems to have less to do with Next.js and is more of a design decision. Each card has a native anchor tag inside, and when you tab through these links the card is ignored and the links are focused. The card itself is a 'fake' js link, that redirects when clicked.

i personally would've made the entire card an anchor link, but either approach is possible in Next.js




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: