2 ms·
Polymer has a few baked-in elements to help with various data binding needs: https://www.polymer-project.org/1.0/docs/devguide/templates.html https://www.polyme
by Zikes 11y ago
Polymer has a few baked-in elements to help with various data binding needs: https://www.polymer-project.org/1.0/docs/devguide/templates.html https://www.polymer-project.org/1.0/docs/devguide/templates....
Another classic approach I've seen is to create an "<x-app>" element which contains the entire site, which also handles the various application state and binding tasks. The Polymer Starter Kit[1] follows this approach, and it also includes tools for building/minification using Vulcanize[2] and gulp[3].
[1] https://github.com/polymerelements/polymer-starter-kit https://github.com/polymerelements/polymer-starter-kit
[2] https://github.com/Polymer/vulcanize https://github.com/Polymer/vulcanize
[3] http://gulpjs.com/ http://gulpjs.com/