-
Notifications
You must be signed in to change notification settings - Fork 530
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
feat(connectors): cleanup life cycle without dispose #6497
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit d08f81d:
|
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.
Awesome. I tested empirically and e2e passed on the branch (except for js-umd but the error is unrelated).
…pose In `dispose`, we no longer have any logic other than clearing listeners and removing rendering. This causes a significant simplification in all connectors. One side-effect of this is that `configure` no longer can be collaborating in ui state. If we'd want that, there's no way to distinguish between the ui state set for one configure or the one set for another. Therefore the configure widget is completely in charge of its parameters. If you want to synchronise configure with the URL, do that separately of the UI State. Small side-effect of this PR is the deduplication of the test/mock createWidget files BREAKING CHANGE: widgets no longer explicitly clean in dispose (handled in index widget automatically) BREAKING CHANGE: configure no longer shows in ui state or routing. [FX-3209]
fff286e
to
713fb0c
Compare
Thanks, the e2e test doesn't really deal with adding and removing widgets though, so it makes sense it has no impact |
feat(connectors): rely entirely on gWSP and gUS for parameters in dispose In `dispose`, we no longer have any logic other than clearing listeners and removing rendering. This causes a significant simplification in all connectors. One side-effect of this is that `configure` no longer can be collaborating in ui state. If we'd want that, there's no way to distinguish between the ui state set for one configure or the one set for another. Therefore the configure widget is completely in charge of its parameters. If you want to synchronise configure with the URL, do that separately of the UI State. Small side-effect of this PR is the deduplication of the test/mock createWidget files BREAKING CHANGE: widgets no longer explicitly clean in dispose (handled in index widget automatically) BREAKING CHANGE: configure no longer shows in ui state or routing. [FX-3209]
feat(connectors): rely entirely on gWSP and gUS for parameters in dispose In `dispose`, we no longer have any logic other than clearing listeners and removing rendering. This causes a significant simplification in all connectors. One side-effect of this is that `configure` no longer can be collaborating in ui state. If we'd want that, there's no way to distinguish between the ui state set for one configure or the one set for another. Therefore the configure widget is completely in charge of its parameters. If you want to synchronise configure with the URL, do that separately of the UI State. Small side-effect of this PR is the deduplication of the test/mock createWidget files BREAKING CHANGE: widgets no longer explicitly clean in dispose (handled in index widget automatically) BREAKING CHANGE: configure no longer shows in ui state or routing. [FX-3209]
feat(connectors): rely entirely on gWSP and gUS for parameters in dispose In `dispose`, we no longer have any logic other than clearing listeners and removing rendering. This causes a significant simplification in all connectors. One side-effect of this is that `configure` no longer can be collaborating in ui state. If we'd want that, there's no way to distinguish between the ui state set for one configure or the one set for another. Therefore the configure widget is completely in charge of its parameters. If you want to synchronise configure with the URL, do that separately of the UI State. Small side-effect of this PR is the deduplication of the test/mock createWidget files BREAKING CHANGE: widgets no longer explicitly clean in dispose (handled in index widget automatically) BREAKING CHANGE: configure no longer shows in ui state or routing. [FX-3209]
feat(connectors): rely entirely on gWSP and gUS for parameters in dispose In `dispose`, we no longer have any logic other than clearing listeners and removing rendering. This causes a significant simplification in all connectors. One side-effect of this is that `configure` no longer can be collaborating in ui state. If we'd want that, there's no way to distinguish between the ui state set for one configure or the one set for another. Therefore the configure widget is completely in charge of its parameters. If you want to synchronise configure with the URL, do that separately of the UI State. Small side-effect of this PR is the deduplication of the test/mock createWidget files BREAKING CHANGE: widgets no longer explicitly clean in dispose (handled in index widget automatically) BREAKING CHANGE: configure no longer shows in ui state or routing. [FX-3209]
feat(connectors): rely entirely on gWSP and gUS for parameters in dispose In `dispose`, we no longer have any logic other than clearing listeners and removing rendering. This causes a significant simplification in all connectors. One side-effect of this is that `configure` no longer can be collaborating in ui state. If we'd want that, there's no way to distinguish between the ui state set for one configure or the one set for another. Therefore the configure widget is completely in charge of its parameters. If you want to synchronise configure with the URL, do that separately of the UI State. Small side-effect of this PR is the deduplication of the test/mock createWidget files BREAKING CHANGE: widgets no longer explicitly clean in dispose (handled in index widget automatically) BREAKING CHANGE: configure no longer shows in ui state or routing. [FX-3209]
feat(connectors): rely entirely on gWSP and gUS for parameters in dispose In `dispose`, we no longer have any logic other than clearing listeners and removing rendering. This causes a significant simplification in all connectors. One side-effect of this is that `configure` no longer can be collaborating in ui state. If we'd want that, there's no way to distinguish between the ui state set for one configure or the one set for another. Therefore the configure widget is completely in charge of its parameters. If you want to synchronise configure with the URL, do that separately of the UI State. Small side-effect of this PR is the deduplication of the test/mock createWidget files BREAKING CHANGE: widgets no longer explicitly clean in dispose (handled in index widget automatically) BREAKING CHANGE: configure no longer shows in ui state or routing. [FX-3209]
feat(connectors): rely entirely on gWSP and gUS for parameters in dispose In `dispose`, we no longer have any logic other than clearing listeners and removing rendering. This causes a significant simplification in all connectors. One side-effect of this is that `configure` no longer can be collaborating in ui state. If we'd want that, there's no way to distinguish between the ui state set for one configure or the one set for another. Therefore the configure widget is completely in charge of its parameters. If you want to synchronise configure with the URL, do that separately of the UI State. Small side-effect of this PR is the deduplication of the test/mock createWidget files BREAKING CHANGE: widgets no longer explicitly clean in dispose (handled in index widget automatically) BREAKING CHANGE: configure no longer shows in ui state or routing. [FX-3209]
feat(connectors): rely entirely on gWSP and gUS for parameters in dispose In `dispose`, we no longer have any logic other than clearing listeners and removing rendering. This causes a significant simplification in all connectors. One side-effect of this is that `configure` no longer can be collaborating in ui state. If we'd want that, there's no way to distinguish between the ui state set for one configure or the one set for another. Therefore the configure widget is completely in charge of its parameters. If you want to synchronise configure with the URL, do that separately of the UI State. Small side-effect of this PR is the deduplication of the test/mock createWidget files BREAKING CHANGE: widgets no longer explicitly clean in dispose (handled in index widget automatically) BREAKING CHANGE: configure no longer shows in ui state or routing. [FX-3209]
feat(connectors): rely entirely on gWSP and gUS for parameters in dispose In `dispose`, we no longer have any logic other than clearing listeners and removing rendering. This causes a significant simplification in all connectors. One side-effect of this is that `configure` no longer can be collaborating in ui state. If we'd want that, there's no way to distinguish between the ui state set for one configure or the one set for another. Therefore the configure widget is completely in charge of its parameters. If you want to synchronise configure with the URL, do that separately of the UI State. Small side-effect of this PR is the deduplication of the test/mock createWidget files BREAKING CHANGE: widgets no longer explicitly clean in dispose (handled in index widget automatically) BREAKING CHANGE: configure no longer shows in ui state or routing. [FX-3209]
feat(connectors): rely entirely on gWSP and gUS for parameters in dispose In `dispose`, we no longer have any logic other than clearing listeners and removing rendering. This causes a significant simplification in all connectors. One side-effect of this is that `configure` no longer can be collaborating in ui state. If we'd want that, there's no way to distinguish between the ui state set for one configure or the one set for another. Therefore the configure widget is completely in charge of its parameters. If you want to synchronise configure with the URL, do that separately of the UI State. Small side-effect of this PR is the deduplication of the test/mock createWidget files BREAKING CHANGE: widgets no longer explicitly clean in dispose (handled in index widget automatically) BREAKING CHANGE: configure no longer shows in ui state or routing. [FX-3209]
feat(connectors): rely entirely on gWSP and gUS for parameters in dispose In `dispose`, we no longer have any logic other than clearing listeners and removing rendering. This causes a significant simplification in all connectors. One side-effect of this is that `configure` no longer can be collaborating in ui state. If we'd want that, there's no way to distinguish between the ui state set for one configure or the one set for another. Therefore the configure widget is completely in charge of its parameters. If you want to synchronise configure with the URL, do that separately of the UI State. Small side-effect of this PR is the deduplication of the test/mock createWidget files BREAKING CHANGE: widgets no longer explicitly clean in dispose (handled in index widget automatically) BREAKING CHANGE: configure no longer shows in ui state or routing. [FX-3209]
In
dispose
, we no longer have any logic other than clearing listeners and removing rendering. This causes a significant simplification in all connectors.One side-effect of this is that
configure
no longer can be collaborating in ui state. If we'd want that, there's no way to distinguish between the ui state set for one configure or the one set for another. Therefore the configure widget is completely in charge of its parameters. If you want to synchronise configure with the URL, do that separately of the UI State.Small side-effect of this PR is the deduplication of the test/mock createWidget files
BREAKING CHANGE: widgets no longer explicitly clean in dispose (handled in index widget automatically)
BREAKING CHANGE: configure no longer shows in ui state or routing.
FX-3209