I am investigating if we can use can.Components in following situation.
We have a large dataset (50 columns / 200 rows) in which each table cell should have live binding.
What are your thoughts on this?
Biggest bottle neck seems to be at line 32:
- $myTable.append(can.view.stache(htmlRows)({}));
This adds a row to the table and also triggers the can.Components to do their magic.
Still have to refine the fiddle with an actual fixture and templates to do the rendering, but this already doesn't look very promising performance wise.
-- update:
new Fiddle with can.Model & stache template
With lazy rendering: