-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[go_router] adds ability to dynamically update routing table. #5079
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
Conversation
|
will write a breaking change doc later |
hannah-hyj
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: [GoRoute]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why update this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous there are no use case that the imperative route match can be equal because all the completers in them are different. so I optimize it away to use identity hash (otherwise it would use the super == which will return incorrect result).
Now that the RouteMatchList will be reparsed after the routing config changes. The ImperativeRouteMatch will reuse its completer when them are recreated, so there can be cases where equality is possible.
f75f48d to
3368bb6
Compare
flutter/packages@14aa69e...09c6b11 2023-10-19 [email protected] Manual roll Flutter from 6eea6e2 to 189196d (44 revisions) (flutter/packages#5178) 2023-10-18 [email protected] [go_router] adds ability to dynamically update routing table. (flutter/packages#5079) 2023-10-18 [email protected] [flutter_lints] rev flutter_lints to 3.0; increase dep on package:lints (flutter/packages#5177) 2023-10-18 [email protected] Roll Flutter (stable) from 2f708eb to 6c4930c (1 revision) (flutter/packages#5173) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC [email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
fixes flutter/flutter#136005
Pre-launch Checklist
dart format.)[shared_preferences]pubspec.yamlwith an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.mdto add a description of the change, following repository CHANGELOG style.///).If you need help, consider asking for advice on the #hackers-new channel on Discord.