Files
bknd/app/src/ui/hooks/use-render-count.ts
T
dswbx eec8b64bae refactor(dropzone): extract DropzoneInner and unify state management with zustand (#165)
Simplified Dropzone implementation by extracting inner logic to a new component, `DropzoneInner`. Replaced local dropzone state logic with centralized state management using zustand. Adjusted API exports and props accordingly for consistency and maintainability.
2025-04-26 07:37:28 +02:00

8 lines
143 B
TypeScript

import { useRef } from "react";
export function useRenderCount() {
const count = useRef(0);
count.current++;
return count.current;
}