4 ms·
Polymer. Check out https://github.com/arqex/freezer https://github.com/arqex/freezer if you like immutable data, it works very well with Polymer. All you need
by floatboth 9y ago
Polymer.
Check out https://github.com/arqex/freezer https://github.com/arqex/freezer if you like immutable data, it works very well with Polymer. All you need to do to integrate them is something like this: https://github.com/myfreeweb/micro-panel/blob/34aeb46600fab5ebfb24f72777e723675dadc34b/src/micro-panel.js#L59-L65 https://github.com/myfreeweb/micro-panel/blob/34aeb46600fab5... (the itemModified stuff is extra, specific to my app) Then just pass the freezer object or its children down the component tree with one-way bindings.