-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Bring over RR cookies code into @remix-run/cookie package #10796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
mjackson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
|
@mjackson I updated this with the same thing we did in the session PR:
|
cbe4632 to
8652d7b
Compare
mjackson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove JSON encoding/decoding and force people to use string values.
93e76b3 to
b8db250
Compare
Adds a new
@remix-run/cookiepackage - brought over from https://github.com/remix-run/react-router/blob/main/packages/react-router/lib/server-runtime/cookies.ts