Using the Cookie Path Attribute in Single Fetch #13559
Unanswered
r-matsuura
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are currently using Remix V2 and are considering upgrading to react-router v7.
In our application, we use the Path attribute of cookies to store cookies specific to each path.
In Remix V2, requests were made to loaders with query parameters appended to the base path. However, with Single Fetch, requests are made to basepath.data, which is treated as a different path. As a result, the server does not include the cookie due to the path mismatch.
What would be the recommended approach in this situation?
Beta Was this translation helpful? Give feedback.
All reactions