From 4474a9b82e1d46d7764d949626aa313f86d7c029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denilson=20S=C3=A1=20Maia?= Date: Fri, 1 Aug 2025 18:58:28 +0200 Subject: [PATCH] hasChanged perfoms inequality check, not equality --- packages/lit-dev-content/site/docs/v3/components/lifecycle.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lit-dev-content/site/docs/v3/components/lifecycle.md b/packages/lit-dev-content/site/docs/v3/components/lifecycle.md index 9eb86016e..208aa819b 100644 --- a/packages/lit-dev-content/site/docs/v3/components/lifecycle.md +++ b/packages/lit-dev-content/site/docs/v3/components/lifecycle.md @@ -178,7 +178,7 @@ An update is triggered when a reactive property changes or the `requestUpdate()` #### hasChanged() {#haschanged} -Called when a reactive property is set. By default `hasChanged()` does a strict equality check and if it returns `true`, an update is scheduled. See [configuring `hasChanged()`](/docs/v3/components/properties/#haschanged) for more information. +Called when a reactive property is set. By default `hasChanged()` does a strict inequality check and if it returns `true`, an update is scheduled. See [configuring `hasChanged()`](/docs/v3/components/properties/#haschanged) for more information. #### requestUpdate() {#requestUpdate}