From d9233f60b623d1387d1d41b4c28a33faf1da96da Mon Sep 17 00:00:00 2001 From: Haileyesus Date: Wed, 28 Jan 2026 22:53:01 +0300 Subject: [PATCH] chore: add comment for render count tracker --- src/App.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/App.jsx b/src/App.jsx index cd166f5..3b0c25d 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -46,6 +46,7 @@ function AppContent() { const navigate = useNavigate(); const { sessionId } = useParams(); const { t } = useTranslation('common'); + // * This is a tracker for avoiding excessive re-renders during development const renderCountRef = useRef(0); console.log(`AppContent render count: ${renderCountRef.current++}`);