Pre-loading

Hello,
I’m using the following function for the pre-loading
const loadingPlugin = hot.getPlugin(‘loading’);
loadingPlugin.show();
hot.addHook(‘afterLoadData’, () => {
loadingPlugin.hide();
})

The function
hot.addHook(‘afterLoadData’, () => {})
never executed and just keep loading
Any suggestion or recommendation I can use to resolve this issue?

Hi @ykifahh I already replied at Sort data alphabetically - #36 by aleksandra_budnik

We can continue the subject there.