Re:Next.js 10
by athenot on Tuesday October 27, 2020 @12:56PM
(#24909315)
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.
[ Parent
| on HN ]
Re:Next.js 10
by tofuahdude on Tuesday October 27, 2020 @01:05PM
(#24909399)
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