Disabling client-side navigation project-wide while still enabling client-side scripts #4973
mwcampbell
started this conversation in
General
Replies: 1 comment
-
You can add I would recommend you to wrap them in your own components Link and Form that always set them so you don't forget. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm starting a new web application project in which top-notch screen reader accessibility is a high priority. As such, I don't want to use client-side navigation anywhere in the app, since for screen reader users, actual browser navigation is still better. But I still want the other benefits of the
Link
component, such as building anhref
with both a path and search parameters. And when I hand off the project to a developer that's used to usingLink
, I don't want them to accidentally slip into using client-side navigation. So it would be helpful if there was a way to disable client-side navigation project-wide, without completely disabling JavaScript.Beta Was this translation helpful? Give feedback.
All reactions