let elCount = 1; export const useIds = () => { const getId = (prefix: string) => { return `${prefix}-${elCount++}`; }; return { getId }; };