| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:25884a9f-1f60-1ebe-81a9-598095cf496d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CF5C:19E560:8D97E:CBB42:6AFB454F |
| html-safe-nonce | 0c3dc8c461a045b069d94cbd4a862ea61aec50dacd2f42b0094cf4500cfd9522 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjVDOjE5RTU2MDo4RDk3RTpDQkI0Mjo2QUZCNDU0RiIsInZpc2l0b3JfaWQiOiI4NDU4OTgwMDcwMjc3MjAzMjc5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3fc4b909b5963f58df7485fc740fa88f08e40e0fb200a44db9eab0f635b35df0 |
| hovercard-subject-tag | pull_request:3421362226 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/3675/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary
Fix ColorGrid focus-stealing bug in color picker (hex input lost focus on every keystroke)
Replace ~25 unnecessary useEffects across the codebase with better React patterns:
Derived state... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a6c2f87cbcb6414452377b4967858ed6a66f1109 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/3675/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F3675%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F3675%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim |
| Reload | https://github.com/simstudioai/sim/pull/3675/files |
| Reload | https://github.com/simstudioai/sim/pull/3675/files |
| Reload | https://github.com/simstudioai/sim/pull/3675/files |
| simstudioai | https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
| Code | https://github.com/simstudioai/sim |
| Issues129 (129) | https://github.com/simstudioai/sim/issues |
| Pull requests199 (199) | https://github.com/simstudioai/sim/pulls |
| Actions | https://github.com/simstudioai/sim/actions |
| Projects | https://github.com/simstudioai/sim/projects |
| Security and quality | https://github.com/simstudioai/sim/security |
| Insights | https://github.com/simstudioai/sim/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| waleedlatif1 | https://github.com/waleedlatif1 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| waleedlatif1/fix-changecolor-ref-detach | https://github.com/simstudioai/sim/tree/waleedlatif1/fix-changecolor-ref-detach |
|
Conversation
57
| https://github.com/simstudioai/sim/pull/3675 |
|
Commits
7
| https://github.com/simstudioai/sim/pull/3675/commits |
|
Checks
11
| https://github.com/simstudioai/sim/pull/3675/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/3675/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/3675/files |
|
improvement(react): replace unnecessary useEffect patterns with better React primitives
| https://github.com/simstudioai/sim/pull/3675/files#top |
|
Show all changes
7 commits
| https://github.com/simstudioai/sim/pull/3675/files |
|
3afc09d
improvement(react): replace unnecessary useEffect patterns with bette…
waleedlatif1 Mar 19, 2026
| https://github.com/simstudioai/sim/pull/3675/commits/3afc09d99fb983e6831826db5dd1edb60b928389 |
|
50b3987
fix(react): revert unsafe render-time side effects to useEffect
waleedlatif1 Mar 19, 2026
| https://github.com/simstudioai/sim/pull/3675/commits/50b3987ef1e79fab0b00215cffd47c806642ca75 |
|
350f113
fix(react): restore useEffect for modals, scroll, and env sync
waleedlatif1 Mar 19, 2026
| https://github.com/simstudioai/sim/pull/3675/commits/350f113afbf30be9abb1271384413e34b03676a7 |
|
c56ff7a
fix(react): restore useEffect for help/invite modals, combobox index …
waleedlatif1 Mar 19, 2026
| https://github.com/simstudioai/sim/pull/3675/commits/c56ff7a97edadd9d84a122f93a5c69d5171b46f0 |
|
f8e8f7f
fix(context-menu): use requestAnimationFrame for ColorGrid focus, rem…
waleedlatif1 Mar 19, 2026
| https://github.com/simstudioai/sim/pull/3675/commits/f8e8f7fd740b9cbc77d95088d4435e38fa1da41c |
|
7dc680e
fix(files): restore filesRef pattern to prevent preview mode reset on…
waleedlatif1 Mar 19, 2026
| https://github.com/simstudioai/sim/pull/3675/commits/7dc680e32ccf7053796e09df7d2709c60f11bb45 |
|
4860ff8
fix(add-documents-modal, combobox): restore useEffect for modal reset…
waleedlatif1 Mar 19, 2026
| https://github.com/simstudioai/sim/pull/3675/commits/4860ff862d9eb893bafac0c927031af1c626fe20 |
|
Clear filters
| https://github.com/simstudioai/sim/pull/3675/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/3675/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/3675/files |
|
login-form.tsx
| https://github.com/simstudioai/sim/pull/3675/files#diff-8f33cf65aa4f8ccd888b483a11efba139a8f3961adfe2e974cfa9b2df0506ee1 |
|
reset-password-content.tsx
| https://github.com/simstudioai/sim/pull/3675/files#diff-9a6ca493607aa03a47dd6825a701c23cb9ffba26a25688fd69b4e5ade65ab9ec |
|
signup-form.tsx
| https://github.com/simstudioai/sim/pull/3675/files#diff-90e65a3217ad66bfba43f265a92bfd109d75ce4337450e5433fa2090160360d4 |
|
input.tsx
| https://github.com/simstudioai/sim/pull/3675/files#diff-2f10c432349cef3ac6d1f6ab5e452643039dc52662335438392ab194a585753c |
|
voice-interface.tsx
| https://github.com/simstudioai/sim/pull/3675/files#diff-e7779b7d6d58152e94f8af5cc518a471a4a080666a5c51922f9f42f6e8f23f6e |
|
add-documents-modal.tsx
| https://github.com/simstudioai/sim/pull/3675/files#diff-52c26653847242e9d797680c23028548fff1a57a86186b5e6d8074c3b80e84d8 |
|
credentials-manager.tsx
| https://github.com/simstudioai/sim/pull/3675/files#diff-de57d1d374ddd902a8984e4eda692909b0fcd33072d0fdd9ecc40053d1a8bead |
|
help-modal.tsx
| https://github.com/simstudioai/sim/pull/3675/files#diff-834f78801e155b9e40f40c5cd3264b8bf525d06f4ccd0b4c1e6a9b0b3ea9efe7 |
|
context-menu.tsx
| https://github.com/simstudioai/sim/pull/3675/files#diff-ab5db9bc6369208f083b7703827f2b7b9292d71b5decbd7a7a4864bd2d0ecf82 |
|
create-workspace-modal.tsx
| https://github.com/simstudioai/sim/pull/3675/files#diff-d0cf34b88df924746856ca5577873f78c36ea6ba30124ee956e0a3c8d0354c85 |
|
permissions-table.tsx
| https://github.com/simstudioai/sim/pull/3675/files#diff-ae8e1402f15c62636c4ace9a1f6d48a18ffaedda6c2b82f20771363aae7ffdfd |
|
sidebar.tsx
| https://github.com/simstudioai/sim/pull/3675/files#diff-fe0f9ef26aae01478e9790a231ce91eaa9af5ccb0acd5656ead6f12ef7f332c3 |
|
combobox.tsx
| https://github.com/simstudioai/sim/pull/3675/files#diff-250b456531c971c9f696d2c20bd91c3fa0562703a3ff4462a56c459922211d3d |
|
date-picker.tsx
| https://github.com/simstudioai/sim/pull/3675/files#diff-b9bf2a866a7d180b75280bc96484f76056c270b6ee9a0b61647a3552fdc034ab |
|
popover.tsx
| https://github.com/simstudioai/sim/pull/3675/files#diff-3b0cc6c195119f057dbdc3a34fa008ca9bf73da36efb0b251a27fa3e41a6d6bc |
|
time-picker.tsx
| https://github.com/simstudioai/sim/pull/3675/files#diff-ccf65eea51a49863663611e565441d90355e4ea7a6645fb88bcc107046cb987a |
| apps/sim/app/(auth)/login/login-form.tsx | https://github.com/simstudioai/sim/pull/3675/files#diff-8f33cf65aa4f8ccd888b483a11efba139a8f3961adfe2e974cfa9b2df0506ee1 |
|
View file
| https://github.com/simstudioai/sim/blob/4860ff862d9eb893bafac0c927031af1c626fe20/apps/sim/app/(auth)/login/login-form.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/3675/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-8f33cf65aa4f8ccd888b483a11efba139a8f3961adfe2e974cfa9b2df0506ee1 |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-8f33cf65aa4f8ccd888b483a11efba139a8f3961adfe2e974cfa9b2df0506ee1 |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-8f33cf65aa4f8ccd888b483a11efba139a8f3961adfe2e974cfa9b2df0506ee1 |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-8f33cf65aa4f8ccd888b483a11efba139a8f3961adfe2e974cfa9b2df0506ee1 |
| apps/sim/app/(auth)/reset-password/reset-password-content.tsx | https://github.com/simstudioai/sim/pull/3675/files#diff-9a6ca493607aa03a47dd6825a701c23cb9ffba26a25688fd69b4e5ade65ab9ec |
|
View file
| https://github.com/simstudioai/sim/blob/4860ff862d9eb893bafac0c927031af1c626fe20/apps/sim/app/(auth)/reset-password/reset-password-content.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/3675/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-9a6ca493607aa03a47dd6825a701c23cb9ffba26a25688fd69b4e5ade65ab9ec |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-9a6ca493607aa03a47dd6825a701c23cb9ffba26a25688fd69b4e5ade65ab9ec |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-9a6ca493607aa03a47dd6825a701c23cb9ffba26a25688fd69b4e5ade65ab9ec |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-9a6ca493607aa03a47dd6825a701c23cb9ffba26a25688fd69b4e5ade65ab9ec |
| apps/sim/app/(auth)/signup/signup-form.tsx | https://github.com/simstudioai/sim/pull/3675/files#diff-90e65a3217ad66bfba43f265a92bfd109d75ce4337450e5433fa2090160360d4 |
|
View file
| https://github.com/simstudioai/sim/blob/4860ff862d9eb893bafac0c927031af1c626fe20/apps/sim/app/(auth)/signup/signup-form.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/3675/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-90e65a3217ad66bfba43f265a92bfd109d75ce4337450e5433fa2090160360d4 |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-90e65a3217ad66bfba43f265a92bfd109d75ce4337450e5433fa2090160360d4 |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-90e65a3217ad66bfba43f265a92bfd109d75ce4337450e5433fa2090160360d4 |
| apps/sim/app/chat/components/input/input.tsx | https://github.com/simstudioai/sim/pull/3675/files#diff-2f10c432349cef3ac6d1f6ab5e452643039dc52662335438392ab194a585753c |
|
View file
| https://github.com/simstudioai/sim/blob/4860ff862d9eb893bafac0c927031af1c626fe20/apps/sim/app/chat/components/input/input.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/3675/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-2f10c432349cef3ac6d1f6ab5e452643039dc52662335438392ab194a585753c |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-2f10c432349cef3ac6d1f6ab5e452643039dc52662335438392ab194a585753c |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-2f10c432349cef3ac6d1f6ab5e452643039dc52662335438392ab194a585753c |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-2f10c432349cef3ac6d1f6ab5e452643039dc52662335438392ab194a585753c |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-2f10c432349cef3ac6d1f6ab5e452643039dc52662335438392ab194a585753c |
| apps/sim/app/chat/components/voice-interface/voice-interface.tsx | https://github.com/simstudioai/sim/pull/3675/files#diff-e7779b7d6d58152e94f8af5cc518a471a4a080666a5c51922f9f42f6e8f23f6e |
|
View file
| https://github.com/simstudioai/sim/blob/4860ff862d9eb893bafac0c927031af1c626fe20/apps/sim/app/chat/components/voice-interface/voice-interface.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/3675/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-e7779b7d6d58152e94f8af5cc518a471a4a080666a5c51922f9f42f6e8f23f6e |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-e7779b7d6d58152e94f8af5cc518a471a4a080666a5c51922f9f42f6e8f23f6e |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-e7779b7d6d58152e94f8af5cc518a471a4a080666a5c51922f9f42f6e8f23f6e |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-e7779b7d6d58152e94f8af5cc518a471a4a080666a5c51922f9f42f6e8f23f6e |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-e7779b7d6d58152e94f8af5cc518a471a4a080666a5c51922f9f42f6e8f23f6e |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-e7779b7d6d58152e94f8af5cc518a471a4a080666a5c51922f9f42f6e8f23f6e |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-e7779b7d6d58152e94f8af5cc518a471a4a080666a5c51922f9f42f6e8f23f6e |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-e7779b7d6d58152e94f8af5cc518a471a4a080666a5c51922f9f42f6e8f23f6e |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-e7779b7d6d58152e94f8af5cc518a471a4a080666a5c51922f9f42f6e8f23f6e |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-e7779b7d6d58152e94f8af5cc518a471a4a080666a5c51922f9f42f6e8f23f6e |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-e7779b7d6d58152e94f8af5cc518a471a4a080666a5c51922f9f42f6e8f23f6e |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-e7779b7d6d58152e94f8af5cc518a471a4a080666a5c51922f9f42f6e8f23f6e |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-e7779b7d6d58152e94f8af5cc518a471a4a080666a5c51922f9f42f6e8f23f6e |
|
| https://github.com/simstudioai/sim/pull/3675/files#diff-e7779b7d6d58152e94f8af5cc518a471a4a080666a5c51922f9f42f6e8f23f6e |
| Please reload this page | https://github.com/simstudioai/sim/pull/3675/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/3675/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |