What is the best way to fetch data and handle new added data?

What is the best way to fetch data and handle new added data?

TheGreyRavenTheGreyRaven Posts: 4Questions: 3Answers: 0

Hi!

I have been working with DataTables now for a couple of days and it is great, and I was wondering what would be the best way to fetch data and managed new data without disturbing the user.

I have a NodeJS Express server fetching and displaying data from a MySQL server, lets say that the table has 2 pages and the user is on the second page, and then the NodeJS server adds 2 more pages.

Will that be updated for the user or do I have to do some setInterval things or what would be the best way to dynamically fetch and process data / new data?

Thank you!

This discussion has been closed.