super-elements / super-grid

0 stars 0 forks source link

Performant Rendering of items #2

Open gaurav21r opened 8 years ago

gaurav21r commented 8 years ago

Naively we could use <template is="dom-repeat"> but perhaps a better alternative would be to use <iron-list> as the core rendering engine. It has the following good features (amongst others) for it to be used as the core rendering engine for a virtual list. Many features are similar to the virtual scrolling features baked into dgrid and other grids.

  1. It takes the viewport into account and renders only the minimum possible nodes for a HUGE items array.
  2. Its very loose! Any template inside it can be rendered. Perfect as the engine which would drive the rest of super-grid with advanced functionalities.
  3. It can delegate scrolling to another element!
gaurav21r commented 8 years ago

We need this engine to support dynamic template insertion somehow! Tracking it here https://github.com/PolymerElements/iron-list/issues/310