Skip to content

Simplify web code http requests and use static interop #3613

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

Closed

Conversation

parlough
Copy link
Member

Extracted from #3610 for easier review on the road towards modern static JS interop.

package:http already uses static interop (through package:web), so we shouldn't try to repeat the work from there.

@parlough parlough marked this pull request as draft December 29, 2023 01:13
@parlough
Copy link
Member Author

parlough commented Dec 29, 2023

I'm confused how changing three calls to use a single method from a new package ends up with a ≈75KB bundle size increase :/

I'm going to keep this in draft a bit to investigate. The simplification is likely not worth it, and everyone using package:http on the web shouldn't have to pay this large of a cost when the platform has good support built-in :/

@parlough parlough force-pushed the misc/simplify-webui-http-code branch from 7be80b1 to a845d39 Compare December 29, 2023 01:45
@parlough parlough closed this Jan 28, 2024
@parlough parlough deleted the misc/simplify-webui-http-code branch January 28, 2024 19:33
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