Remix.run Logo
maelito 7 hours ago

Note on the fact that this would add JS that needs to be loaded to see the page. No, because similar smart people created server-side rendering, adding another layer of complexity.

dchest 7 hours ago | parent [-]

How do you implement this keyboard navigation with SSR (if you use buttons)?

https://www.radix-ui.com/primitives/docs/components/radio-gr...

DougBTX 7 hours ago | parent [-]

I can’t tell if this is sarcasm or not! Radio buttons support keyboard navigation without JS.

dchest 7 hours ago | parent [-]

That's what I mean: if you reimplement it, you need client-side JS to support keyboard navigation.