What is the difference between Polymer elements and AngularJS directives?

后端 未结 10 1700
清歌不尽
清歌不尽 2020-12-02 03:11

On the Polymer Getting Started page, we see an example of Polymer in action:


  
             


        
10条回答
  •  南方客
    南方客 (楼主)
    2020-12-02 03:53

    The MVVM (model-view, view-model) that Angular offers is not a concern that Polymer aims at solving. The composable & re-usable nature that Angular directives give to you with (a custom tag + associated logic combination) is a more sane comparison when you consider comparing Angular and Polymer. Angular is and will remain a broader purpose-serving framework.

提交回复
热议问题