handle

Exporting a handle allows you to create application conventions with the useMatches() hook. You can put whatever values you want on it:

  1. export const handle = {
  2. its: "all yours",
  3. };

This is almost always used in conjunction with useMatches. To see what kinds of things you can do with it, refer to useMatches for more information.