Danz He created WEEX-61:
---------------------------

             Summary: separate vue-render into render core and plugins.
                 Key: WEEX-61
                 URL: https://issues.apache.org/jira/browse/WEEX-61
             Project: Weex
          Issue Type: Improvement
          Components: Web Renderer
    Affects Versions: 0.15
            Reporter: Danz He
            Assignee: Danz He
             Fix For: 0.15



    For the loading performance's sake, we should separate vue-render into two 
parts: render core and plugins.

    The render core includes all the basic function for render to work, and the 
basic components which are `text`, `image`, `div` and the scrollable components 
and their child components such as `cell`, `header` for `list` and `scroller`.

    The plugins part is the extended built-in components and API modules. 
Components like `a` and `video` are not always used in user's project, 
therefore it's a big waste for bandwidth and bundle size to integrate these 
components into render core part. For this sake I package the components into 
npm packages, and now users can import the corresponding npm package into their 
project if they use a plugin component.

    And I also change some packing logic in build config files, so that you can 
pack up all the plugins and the render core by just using a certain npm script.

    I also adjust some test files since the file structure of components and 
modules have been changed into installable modules.



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

Reply via email to