It wouldn’t matter much: If you transmit millions of records to the client, then rely on any JS library to do the pagination, you’ll run out-of-memory on the browser soon (if your users are patient to wait for the data to be transferred).
You’re rather looking for a mix of server- and client-side pagination and dynamic loading. In there I’d recommend to go with the library and server-side framework that you’re most familiar with, because the amount of data you’re transferring does not justify going for “performance optimization”. Not transferring everything is the optimization you can do in terms of performance – not the choice of JS-library
0
solved showing millions of records in data table