Skip to content

Commit 3f687cd

Browse files
committed
chore: update docs
1 parent 9c29ca0 commit 3f687cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/@lwc/engine-core/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,6 @@ This experimental API enables the sanitization of HTML content by external servi
116116

117117
This experimental API enables the removal of an object's observable membrane proxy wrapper.
118118

119-
### addTrustedSignal()
119+
### setSignalValidator()
120120

121-
This experimental API enables the addition of a signal as a trusted signal. If the [`ENABLE_EXPERIMENTAL_SIGNALS`](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/features/README.md#lwcfeatures) feature is enabled, the signal will be added to the set of trusted signals, rendering engine will track the value of the signal hence causing a re-render when the signal value changes.
121+
This experimental API enables the addition of a signal as a trusted signal. If the [`ENABLE_EXPERIMENTAL_SIGNALS`](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/features/README.md#lwcfeatures) feature is enabled, any signal value change will trigger a re-render.

0 commit comments

Comments
 (0)