I have an ArrayController that handle loading more. It calls api for posts, if the promise was success then I push data into controller using self.content.pushObject(data)
. Everything works, but while pushing data the application just freezes till the controller gets updated.
Is that the correct behaviour, or is there a better way to update controller content without freezing the app?
I’m using ember 1.0 and ember-data 1.0.0-beta2
Here is a sample for what i do
self = this
metadata = @store.metadataFor('post')
@store.find('post',
skip: metadata.next_skip
).then( (data) ->
self.content.pushObjects data.content
)