Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data update pruning for template #219

Open
SgLy opened this issue Dec 25, 2024 · 0 comments
Open

Data update pruning for template #219

SgLy opened this issue Dec 25, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request module:core module:template-compiler need discussion Further discussion is needed to decide

Comments

@SgLy
Copy link
Contributor

SgLy commented Dec 25, 2024

This is a feature request for potential performance improvement. Maybe we can prevent updating <template> when all template data is not updated, for example

this.setData({ C: { text: 'msg' } }}

will not trigger update process inside the following <template is="tmpl">

<text>{{ C.text }}</text>
<template is="tmpl" data="{{ ...A, ...B }}" /> 
@SgLy SgLy added enhancement New feature or request module:core module:template-compiler need discussion Further discussion is needed to decide labels Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module:core module:template-compiler need discussion Further discussion is needed to decide
Projects
None yet
Development

No branches or pull requests

2 participants