Closed Sing-Li closed 8 years ago
Problem bypassed for now.
I am using immutable-js to eliminate unnecessary re-render when the set of rows displayed is the same. Turns out that even though the immutable rows JSON.stringifies to plain-jane looking JS structures - internally it is different in ways that would mess up <iron-list>
's template handling. The workable bypass for now is to cleanse by calling the immutable.Map's toIndexSeq().toJS()
converter.
@dandv Please see latest commit sync'd to the recent IO announced Polymer Toolkit and version. I am having some problem binding the
<rk-events-core>
custom element'sreceived-messages
property to an<iron-list>
'sitems
attribute. For some reason, the JSON string always has extraneousMap
in front of a hash, making the template substitution non-functional. The code as it exists will exhibit this problem. The screen capture shows a dump of what eachitem
actually looked like. Any help appreciated. TIA