SgLy

Results 7 issues of SgLy

> https://developers.weixin.qq.com/community/develop/doc/0002c208a4c4004fffb98eae156400

bug

Literal values in template like `arr-prop` in `` are always treated as updated, regardless of whether `valueA` and `valueB` are updated or not. This may lead to unrelated data updates...

module:core
module:template-compiler

Improved `eventListenerFilter` can handle usage of former `eventObjectFilter` and `eventListenerFilter`, while having more usage like dropping an specific event or handle event with knowledge of `generalLvaluePath`. Some logic are also...

enhancement
module:core

Detached node now have a `null` as its `backendElement` and a `DestroyedBackendContext` as its `nodeTreeContext`. May be `ExternalShadowRoot.root` should have a similar one to handle detached state

module:core

Allows an external `safeCallback` will enable external error processor to wrap function or trace stacks before calling

enhancement
module:core

This is a feature request for potential performance improvement. Maybe we can prevent updating `` when all template data is not updated, for example ```typescript this.setData({ C: { text: 'msg'...

enhancement
module:core
module:template-compiler
need discussion

When there are duplicated attributes in template, like: ```html ``` The current miniprogram template compiler prefers the last one (`attr="c"`), while glass-easel-template-compiler (and HTML) prefers the first one (`attr="a"`).

module:template-compiler
need discussion