Replies: 1 comment 1 reply
-
I failed to see There was a floating function in my file that was referencing cookies |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Given that
https://remix.run/docs/en/main/discussion/server-vs-client#server-modules
It seems an adjustment is needed to the cookies documentation where cookie parsing functions are exported from
.server
files and used in actions resulting inI suppose one could dynamically import the function. But is it a problem if this is exposed to client? In other words, should this file not be of extension
.server
in the docs?Beta Was this translation helpful? Give feedback.
All reactions