Skip to content

Comments

WIP: Bun support#10904

Closed
markdalgleish wants to merge 8 commits intomainfrom
markdalgleish/bun
Closed

WIP: Bun support#10904
markdalgleish wants to merge 8 commits intomainfrom
markdalgleish/bun

Conversation

@markdalgleish
Copy link
Member

No description provided.

@markdalgleish
Copy link
Member Author

Closing this in favour of a different strategy:

  • Remove the SuperHeaders class and instead convert @remix-run/headers into a set of utils. This requires updating fetch-router so it uses standard Headers instead of SuperHeaders.
  • Make LazyFile/LazyBlob custom classes that don't subclass File/Blob. Instead, you need to call .stream() when you want to use them in a response body. We'll also add LazyFile.toFile() and LazyBlob.toBlob() helpers.
  • Split out charset fixes into a standalone PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant