You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A concern I have is that Ember Infinity heavily relies on "pushing objects" into arrays. I don't think this is a great approach - as it relies on Ember's pushObjects API staying consistent - the _internalModel stuff is confusing for folks.
Instead I think we should be creating new arrays based on the existing & new data.
@davidgoli also raised some concern about using the store's query object in ember infinity. I agree. David - can you share some of your thoughts here?
The text was updated successfully, but these errors were encountered:
After watching this EmberConf Talk https://www.youtube.com/watch?v=r2Cq1mUlRk4, I think a switch to Immutable Arrays and replacing the model could be very interesting.
It would also solve an issue I am currently having with updating the meta property of the model – which seems impossible even if I explicitly set it in the afterInfinityModel hook. (Explanation: I am trying to access currentPage information in the template.)
A concern I have is that Ember Infinity heavily relies on "pushing objects" into arrays. I don't think this is a great approach - as it relies on Ember's pushObjects API staying consistent - the
_internalModel
stuff is confusing for folks.Instead I think we should be creating new arrays based on the existing & new data.
@davidgoli also raised some concern about using the store's
query
object in ember infinity. I agree. David - can you share some of your thoughts here?The text was updated successfully, but these errors were encountered: