Skip to content

Fix React hook memoization lint blockers#86

Open
bmendonca3 wants to merge 1 commit intogrp06:mainfrom
bmendonca3:bm/lint-react-compiler-deps
Open

Fix React hook memoization lint blockers#86
bmendonca3 wants to merge 1 commit intogrp06:mainfrom
bmendonca3:bm/lint-react-compiler-deps

Conversation

@bmendonca3
Copy link

Summary

  • fix react-hooks/preserve-manual-memoization lint blockers in controller hooks by destructuring stable inputs from params
  • align hook dependency arrays to the destructured values in:
    • useGatewayConfigSyncController
    • useRuntimeSyncController
    • useSettingsRouteController
  • remove remaining lint warnings from unused destructured variables (AgentInspectPanels, livePatchQueue) and the delete-restart polling effect in useAgentSettingsMutationController

Testing

  • npm run lint
  • npm run typecheck
  • npm test -- --run
  • npm run e2e (known disconnected-flow failures on main; tracked separately)

Related

sioakim pushed a commit to sioakim/openclaw-studio that referenced this pull request Mar 2, 2026
- Wrap root page in Suspense boundary to fix useSearchParams() build error
- Fix React hooks memoization lint blockers (destructure stable params)
- Stabilize ThemeToggle localStorage unit tests with full Storage mock

Cherry-picked from upstream PRs grp06#88, grp06#86, grp06#20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant