Remix Logo
main
Branches
main (1.16.1)dev
Versions
1.16.1
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.

Docs and examples licensed under MIT