James Tu
James Tu
## Details This PR replaces Lerna with nx in the LWC monorepo. Along with this change includes a new versioning script for bumping the LWC versions on all packages within...
## Details This PR updates the `codegen` portion of the template compiler to handle the new `IfBlock`, `ElseIfBlock`, and `ElseBlock` interfaces. All `if-elseif-else` conditions are converted to ternary operators where...
## Details This PR increases the strictness of the template compiler syntax by throwing an error instead of a warning when invalid template attributes are detected. There are two scenarios...
This PR resolves #3366 by adding the [part](https://developer.mozilla.org/en-US/docs/Web/API/Element/part) attribute as a global attribute to the HTML Element interface. While this PR does not include an implementation of the [css-shadow-parts spec](https://www.w3.org/TR/css-shadow-parts-1/#element-part-name-map),...
`UpgradableConstructor` should only apply `formAssociated` on-demand and throw in case of conflicts
### Description The introduction of `formAssociated` on the `UpgradeableConstructor` in #3695 has introduced unintended observable changes to custom elements. This is causing the browser to identify LWC components as form-associated...
The v1 implementation expects a signal's `subscribe` method to produce an `unsubscribe` function. In the current implementation, we silently fail when the `unsubscribe` is not a function. We should re-evaluate...
### Description When forwarding a scoped slot to another slot, the slot mapping is incorrect. The scoped slot will always be slotted into the default slot of the component. Here's...
Currently, the [template transformer](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/compiler/src/transformers/template.ts) generates code for implicit stylesheet imports, appending them to the template function, and freezing the template. This logic is located in the [`@lwc/compiler`](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/compiler/src/transformers/template.ts#L161-L189) packages but should...
### Description Native shadow, synthetic shadow and light DOM produce inconsistent behavior when duplicate `` names are used across `lwc:if`, `lwc:elseif` , and `lwc:else` branches. This mostly applies to `disconnectedCallback`...
### Description Using an expression for a `slot` attribute in synthetic shadow throws an error. "DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a...