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

Closure Migration & Typescript-ification #1414

Open
sampajano opened this issue Mar 19, 2024 · 4 comments
Open

Closure Migration & Typescript-ification #1414

sampajano opened this issue Mar 19, 2024 · 4 comments
Assignees
Labels

Comments

@sampajano
Copy link
Collaborator

sampajano commented Mar 19, 2024

The Closure Library has entered maintenance mode.

We're working with the Closure team on migrating our dependency to a new Github repo, containing minimal dependencies required for gRPC-Web.

In the same process, we hope to modernize our codebase into TypeScript, and overhaul our toolchain to use TS tooling, so we no longer have to depend on the Closure Compiler.

@bivens-dev
Copy link

@sampajano Is this rewrite likely to be a 2024 or 2025 thing? I’m super excited to see a revamp of this library that supports modern APIs and better interoperability.

@sampajano
Copy link
Collaborator Author

@bivens-dev Hi :) Likely happening in 2024 since I'm working on it already. Although internal migration needs to be completed first before I can start the Github work.

Glad to hear about your interest! :) Is there any particular API that you'd like to see improved? (So far there's no plan to revamp the API yet since I'm just working on migrating the codebase to TS.)

@bivens-dev
Copy link

Ah maybe I misunderstood. Does that mean XHR rather than fetch or ideally even WebTransport for example?

@sampajano
Copy link
Collaborator Author

sampajano commented Jun 10, 2024

Both XHR and Fetch would be provided as options just like today.

I plan to follow-up TS migration with some work to improve the Fetch/stream runtime (e.g. memory use, service worker support, etc.) given there were many issues / questions around that area.

WebTransport work is separate will likely start in 2025 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants