[ 
https://issues.apache.org/jira/browse/WEEX-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16301043#comment-16301043
 ] 

ASF GitHub Bot commented on WEEX-183:
-------------------------------------

GitHub user Hanks10100 opened a pull request:

    https://github.com/apache/incubator-weex/pull/954

    [WEEX-183][jsfm] support append tree on root element

    See this example: http://dotwe.org/vue/c479b4f8b2e7243efe1cfed2f442e35a
    
    Even there is an append="tree" on the root element, js framework will send 
two render directives to native. JS Framework does it on purpose to ensure the 
performance of sending the first render directive (`createBody`). I think this 
feature is no longer needed.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Hanks10100/incubator-weex 
jsfm-feature-root-append-tree

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-weex/pull/954.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 #954
    
----
commit 7b2111270c1b193c3bd394b177723fbbb8a08a66
Author: Hanks <zhanghan.me@...>
Date:   2017-12-22T06:57:48Z

    * [jsfm] support append tree on root element

----


> append="tree" doesn't work on the root element
> ----------------------------------------------
>
>                 Key: WEEX-183
>                 URL: https://issues.apache.org/jira/browse/WEEX-183
>             Project: Weex
>          Issue Type: Bug
>          Components: JSFM
>            Reporter: Hanks Zhang
>            Assignee: Hanks Zhang
>
> For this example: http://dotwe.org/vue/c479b4f8b2e7243efe1cfed2f442e35a
> Even there is an append="tree" on the root element, js framework will send 
> two render directives to native. JS Framework does it on purpose to ensure 
> the performance of sending the first render directive (createBody). I think 
> it should be fixed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to