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

@depreacte dart:html and other "legacy" DOM libraries #56358

Open
kevmoo opened this issue Jul 31, 2024 · 3 comments
Open

@depreacte dart:html and other "legacy" DOM libraries #56358

kevmoo opened this issue Jul 31, 2024 · 3 comments
Labels
area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. library-html web-libraries Issues impacting dart:html, etc., libraries

Comments

@kevmoo
Copy link
Member

kevmoo commented Jul 31, 2024

We'd like to fully remove these in 2025. Having them deprecated with a year lead time is a good idea.

  • dart:html
  • dart:indexed_db
  • dart:js
  • dart:js_util
  • dart:svg
  • dart:web_audio
  • dart:web_gl
@kevmoo kevmoo added web-libraries Issues impacting dart:html, etc., libraries library-html area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. labels Jul 31, 2024
@srujzs
Copy link
Contributor

srujzs commented Jul 31, 2024

I'd adjust expectations here: removing them will be a lot longer process (unless we're treating internal vs external usage differently), but starting the deprecation process is good.

@ahmednfwela
Copy link

ahmednfwela commented Aug 6, 2024

first of all this issue has to be addressed dart-lang/web#252 before considering deprecating any API, it affects Eventlistener and other interfaces, which affects ALL dom elements, making it a high impact issue

@r-durao-pvotal
Copy link

This is a great initiative IMO.

I would be curious to see though how many libraries that the Dart and Flutter team maintain (not to mention everyone else) that still use the mentioned libraries (grpc lib comes to mind) and how that may affect the proposed timeline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. library-html web-libraries Issues impacting dart:html, etc., libraries
Projects
None yet
Development

No branches or pull requests

4 participants