Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
driskull committed Jan 16, 2025
1 parent 04121a4 commit 7aecd89
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,17 +185,7 @@ export class BlockGroup
setUpLoadableComponent(this);
}

/**
* TODO: [MIGRATION] Consider inlining some of the watch functions called inside of this method to reduce boilerplate code
*
* @param changes
*/
override willUpdate(changes: PropertyValues<this>): void {
/* TODO: [MIGRATION] First time Lit calls willUpdate(), changes will include not just properties provided by the user, but also any default values your component set.
To account for this semantics change, the checks for (this.hasUpdated || value != defaultValue) was added in this method
Please refactor your code to reduce the need for this check.
Docs: https://qawebgis.esri.com/arcgis-components/?path=/docs/lumina-transition-from-stencil--docs#watching-for-property-changes */

if (
changes.has("group") ||
(changes.has("dragEnabled") && (this.hasUpdated || this.dragEnabled !== false))
Expand Down

0 comments on commit 7aecd89

Please sign in to comment.