Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : A question regarding rendering many items in relation to performance

$
0
0
Is that the only function of the control? How many lines is controller code, 10? First I don't think that this is the problem for performance, but anyway you don't want controller that controls one/two simple actions (don't create entries without explicit need). You should listen click event in parent element's (which contains all products) controller, you should just have a way to determine which product (corresponding model instance) was clicked, it is easy to do.

Viewing all articles
Browse latest Browse all 3491

Trending Articles