Best way to auto-refresh a grid using Aurelia


#1

I’m curious what is the best way to implement an auto-refresh of a grid in Aurelia? That is, every 10 seconds, make a call to the server and update the grid with the results. I know of inelegant approaches but I’m not aware of an elegant approach. Thanks.


#2

i’m not sure what a grid is in this context but you could just setInterval(() => gimmeData(), 10_000)?