Skip to content

2.3.1

Compare
Choose a tag to compare
@tomcru tomcru released this 23 Apr 09:30
· 57 commits to main since this release

🌟 Help spread the word about Holy Loader by starring the repo or posting on Twitter about the release.

Highlights

  • This release introduces 2 new methods to manually start & stop the progress bar (startHolyLoader & stopHolyLoader) thanks to @lorikku 🙌

Here's an example use case:

'use client';

import { startHolyLoader, stopHolyLoader } from 'holy-loader';

try {
  startHolyLoader();
  await signOut();
} catch (error) {
  stopHolyLoader();
  // do something else
} finally {
  router.push('/'); // Navigate to another route, which will automatically complete the loader
}

Full Changelog: 2.2.10...2.3.1