Skip to content

Conversation

@brophdawg11
Copy link
Contributor

@brophdawg11 brophdawg11 commented Oct 22, 2025

@brophdawg11 brophdawg11 mentioned this pull request Oct 22, 2025
@brophdawg11 brophdawg11 changed the title Bring over RR cookies code into @remix-run/cookies package Bring over RR cookies code into @remix-run/cookie package Oct 22, 2025
Copy link
Member

@mjackson mjackson left a 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!

@MichaelDeBoey MichaelDeBoey linked an issue Oct 23, 2025 that may be closed by this pull request
@brophdawg11 brophdawg11 requested a review from mjackson October 23, 2025 14:11
@brophdawg11
Copy link
Contributor Author

@mjackson I updated this with the same thing we did in the session PR:

  • interface Cookie + function createCookie are now collapsed into class Cookie
  • isCookie removed in favor of instanceof Cookie

Copy link
Member

@mjackson mjackson left a 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.

@mjackson mjackson merged commit 8be6b0f into main Nov 4, 2025
4 checks passed
@mjackson mjackson deleted the brophdawg11/cookies branch November 4, 2025 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add cookie package

4 participants