I am still using backbonejs since find it extremely easy and fast to bootstrap new micro API based website.
Question is about best practice when it comes to collection loading and rendering upon the collection group click.
Lets say i have static list of brands. On click on the brand I initiate fetching of the collection and upon fetch end successful I render the collection.
The problem happens when the user click on the brands not having the previous click processed, so what happens is that there are 2 collections og both brands loaded and rendered. What is the best way to deal with this in order to "cancel" or just ignore the first fetch and only render the last one that user clicked?
I found the solution is just deactivate the brand list until the request is processed, but it annoying UX wise because user might want to click right away on another one not waiting for the results (if he miss-clicked for example)