Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Polymer has a few baked-in elements to help with various data binding needs: 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

[2] https://github.com/Polymer/vulcanize

[3] http://gulpjs.com/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: