Skip to content

fix: resolve synchronous state updates inside useEffect to prevent cascading renders in Terminal#341

Open
DebasmitaBose0 wants to merge 1 commit into
Akshay473:mainfrom
DebasmitaBose0:fix/terminal-cascading-renders
Open

fix: resolve synchronous state updates inside useEffect to prevent cascading renders in Terminal#341
DebasmitaBose0 wants to merge 1 commit into
Akshay473:mainfrom
DebasmitaBose0:fix/terminal-cascading-renders

Conversation

@DebasmitaBose0

Copy link
Copy Markdown
Contributor

Closes #340

Summary

Deferred state changes on mounting inside the terminal wrapper component.

Changes Made

  • Wrapped setMounted(true) in requestAnimationFrame inside the ForensicTerminal component's mount effect.

Testing

  • Run npx eslint components/Terminal.tsx (0 errors).
  • Built client successfully to ensure no SSR hydration mismatch.

Impact

Solves cascading rendering lifecycle issues.

Checklist

  • Code follows project standards
  • Tested locally
  • No unrelated changes included
  • Responsive design verified
  • Accessibility considered

@vercel

vercel Bot commented Jun 6, 2026

Copy link
Copy Markdown

@DebasmitaBose0 is attempting to deploy a commit to the akshay473's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[GSSOC] Fix Synchronous state updates causing cascading renders in Terminal

1 participant