[
https://issues.apache.org/jira/browse/WEEX-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16301038#comment-16301038
]
ASF GitHub Bot commented on WEEX-182:
-------------------------------------
GitHub user Hanks10100 opened a pull request:
https://github.com/apache/incubator-weex/pull/953
[WEEX-182][jsfm] only update batched and mutated attributes and styles
Check if the batched styles and attributes are empty, and then, only send
the mutations to native.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Hanks10100/incubator-weex
jsfm-feature-attr-diff
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-weex/pull/953.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #953
----
commit 94368e362b8bcc0b5ee72b33266bf10ceacbb944
Author: Hanks <zhanghan.me@...>
Date: 2017-12-22T06:48:40Z
* [jsfm] only update batched and mutated attributes and styles
Check if the batched styles and attributes are empty, and then, only send
the mutations to native.
----
> JS framework send empty attributes and styles to native
> -------------------------------------------------------
>
> Key: WEEX-182
> URL: https://issues.apache.org/jira/browse/WEEX-182
> Project: Weex
> Issue Type: Bug
> Components: JSFM
> Reporter: Hanks Zhang
> Assignee: Hanks Zhang
>
> After JS Framework support batched update of attributes and styles.
> (https://github.com/apache/incubator-weex/pull/819) Sometimes it will send
> empty or the whole attributes and styles to native because there is no diff
> in it.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)