mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-01-31 13:57:34 +00:00
chore: add comment for render count tracker
This commit is contained in:
@@ -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++}`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user