Skip to content
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

feat(deno): use Deno.serve #659

Merged
merged 23 commits into from
Dec 8, 2024
Merged

feat(deno): use Deno.serve #659

merged 23 commits into from
Dec 8, 2024

Conversation

aralroca
Copy link
Collaborator

@aralroca aralroca commented Dec 4, 2024

Related #196

Awaiting this Deno issue denoland/deno#27223. At the moment Deno is currently working in the canary version of Brisa, however it uses the transformation of http.IncomingMessage from Node to Request and vice versa to return the Response, which makes it slower than using Deno.serve. This PR is an optimization, however, I have discovered a bug in Deno that has been reported, until it is not fixed we will not be able to use ReadableStream and it will be better to wait.

@aralroca aralroca self-assigned this Dec 4, 2024
Copy link

pkg-pr-new bot commented Dec 4, 2024

Open in Stackblitz

brisa-adapter-vercel

npm i https://pkg.pr.new/brisa-build/brisa/brisa-adapter-vercel@659

brisa-pandacss

npm i https://pkg.pr.new/brisa-build/brisa/brisa-pandacss@659

brisa

npm i https://pkg.pr.new/brisa-build/brisa@659

brisa-tailwindcss

npm i https://pkg.pr.new/brisa-build/brisa/brisa-tailwindcss@659

www

npm i https://pkg.pr.new/brisa-build/brisa/www@659

create-brisa

npm i https://pkg.pr.new/brisa-build/brisa/create-brisa@659

commit: b7459a3

@aralroca aralroca force-pushed the aralroca/deno-serve branch from 2b87711 to 85be5b1 Compare December 4, 2024 21:48
@aralroca
Copy link
Collaborator Author

aralroca commented Dec 6, 2024

Unblocked by #668 💪🏽

@aralroca aralroca force-pushed the aralroca/deno-serve branch from 6c60168 to e966098 Compare December 7, 2024 15:43
@aralroca aralroca marked this pull request as ready for review December 7, 2024 22:57
@aralroca aralroca merged commit cff9139 into canary Dec 8, 2024
8 of 11 checks passed
@aralroca aralroca deleted the aralroca/deno-serve branch December 8, 2024 00:10
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