From 8b3d841befc335e8fd26d716b3e412e73af5f0d8 Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Tue, 27 Feb 2024 10:41:33 -0800 Subject: [PATCH 1/2] mention the migration guide in the readme --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 63ddf670..9f31e3e7 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,13 @@ void main() { } ``` +## Migrating to package:web + +`package:web` is replacing `dart:html` and other web libraries as Dart's web +interop solution long-term. For advice and techniques for migrating from using +the `dart:html` APIs to `package:web, see our +[migration guide](http://dart.dev/go/package-web). + ## Generation conventions The generator scripts use a number of conventions to consistently handle Web IDL From 383cc0b2eea12dcd541f8334f1447769ce9f028b Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Tue, 27 Feb 2024 11:19:43 -0800 Subject: [PATCH 2/2] Update README.md Co-authored-by: Marya <111139605+MaryaBelanger@users.noreply.github.com> --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9f31e3e7..437f8f26 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,9 @@ void main() { ## Migrating to package:web -`package:web` is replacing `dart:html` and other web libraries as Dart's web -interop solution long-term. For advice and techniques for migrating from using -the `dart:html` APIs to `package:web, see our +`package:web` is replacing `dart:html` and other web libraries as Dart's +long-term web interop solution. To learn how to migrate from `dart:html` +APIs to `package:web`, see our [migration guide](http://dart.dev/go/package-web). ## Generation conventions