In the fill - in pattern you describe how to update the model. What if we have a collection and we call fetch() from the server every x amount of time. For example I have a lobby that updates the games every 5 seconds. How would update only the models that have changes and insert new ones? Is it possible and if yes could you write a recipe for this?
Hello and thank you for the great book!
In the fill - in pattern you describe how to update the model. What if we have a collection and we call fetch() from the server every x amount of time. For example I have a lobby that updates the games every 5 seconds. How would update only the models that have changes and insert new ones? Is it possible and if yes could you write a recipe for this?
Thanks!