Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

utils.ts

3 lines93 Bytes

1let elementNameIndex = 0
2​
3export const generateElementName = () => `x-${elementNameIndex++}`