Commit 0493a5af authored by Krzysztof Kocot's avatar Krzysztof Kocot
Browse files

Fix re-rendering of comments when typing in reply box

Extract CommentsSection into a memoized component to prevent
unnecessary re-renders when typing in the reply textbox.

Changes:
- Create new CommentsSection component with memo and useCallback
- Fix useMemo dependencies in comment-list.tsx (remove JSON.stringify)
- Use stable callback for setCommentsPage
- Apply responsive width classes to post container

🤖 Generated with [Claude Code](https://claude.com/claude-code

)

Co-Authored-By: default avatarClaude Opus 4.5 <noreply@anthropic.com>
parent bf7e94d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment