LearnNewsExamplesServices
Frontmatter
id2366
titlecomponent.Base: set() => only trigger a vdom update if needed
stateClosed
labels
enhancement
assigneestobiu
createdAtJun 15, 2021, 2:16 AM
updatedAtJun 15, 2021, 2:16 AM
githubUrlhttps://github.com/neomjs/neo/issues/2366
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJun 15, 2021, 2:16 AM

component.Base: set() => only trigger a vdom update if needed

Closed v8.1.0 enhancement
tobiu
tobiu commented on Jun 15, 2021, 2:16 AM

while set() is intended for bulk config updates resulting in just 1 vdom update engine call at the end, there are cases where you only update non vdom related configs.

one example is model.Component which calls set on config changes.

the new logic need to track if the vdom of the cmp actually needs an update or not.

tobiu added the enhancement label on Jun 15, 2021, 2:16 AM
tobiu assigned to @tobiu on Jun 15, 2021, 2:16 AM
tobiu referenced in commit 86c40da - "component.Base: set() => only trigger a vdom update if needed #2366" on Jun 15, 2021, 2:16 AM
tobiu closed this issue on Jun 15, 2021, 2:16 AM