Hi, the theme switcher feature behaviour is not safe with js disabled.
If I'm fast enough to click on the toggle before remix takes over the form, I have a "json in browser" response.
I think this should be handled conditionally and, if the post comes natively from the browser, the action in app/routes/resources+/theme-switch.tsx should just redirect to request.url, but I don't have the skills to do that myself...
Hi, the theme switcher feature behaviour is not safe with js disabled. If I'm fast enough to click on the toggle before remix takes over the form, I have a "json in browser" response. I think this should be handled conditionally and, if the post comes natively from the browser, the action in app/routes/resources+/theme-switch.tsx should just redirect to request.url, but I don't have the skills to do that myself...