Viewing docs for dev branch, not the latest release. View latest
handle

handle

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

export const handle = {
  its: "all yours",
};

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.

Additional Resources

Docs and examples licensed under MIT