js tip: sometimes, you may want to code split your helpers/hooks into specific js files; however, you can re-export them at the root level using an `index.js`, so they can be used like so:

// hooks/index.js --------------------------------------------
import useDebounce from './useDebounce'; // ./hooks/useDebounce.js
import useEcho from './useEcho'; // ./hooks/useEcho.js
import useReload from './useReload'; // ./hooks/useReload.js

export { useDebounce, useEcho, useReload };
// ---------

// Usage anywhere in your project: 🔥🔥🔥
import { useDebounce, useEcho, useReload } from '@/hooks';

10

Been working with Laravel Cashier for serious business lately. Impressively great tool. 💎

15