Skip to content

Commit d55224a

Browse files
Update packages/@lwc/engine-core/src/framework/invoker.ts
Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com>
1 parent 8df30c9 commit d55224a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/@lwc/engine-core/src/framework/invoker.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ export function invokeComponentConstructor(vm: VM, Ctor: LightningElementConstru
5858
// the "instanceof" operator would not work here since Locker Service provides its own
5959
// implementation of LightningElement, so we indirectly check if the base constructor is
6060
// invoked by accessing the component on the vm.
61-
// TODO [W-17769475]: Restore this fix when we can reliably detect Locker enabled
6261
const isInvalidConstructor = lwcRuntimeFlags.LEGACY_LOCKER_ENABLED
6362
? vmBeingConstructed.component !== result
6463
: !(result instanceof LightningElement);

0 commit comments

Comments
 (0)