Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

258 B
Raw Blame
import { cache } from "react";

import { api } from "@homarr/api/server";

// React clears this cache between requests; distinct target users keep distinct entries.
export const getUserEditDataAsync = cache((userId: string) => api.user.getById({ userId }));