Skip to content

fix(redux-devtools-plugin): avoid duplicate snapshot on panel connect#290

Merged
V3RON merged 1 commit into
mainfrom
fix/redux-devtools-duplicate-snapshot
May 26, 2026
Merged

fix(redux-devtools-plugin): avoid duplicate snapshot on panel connect#290
V3RON merged 1 commit into
mainfrom
fix/redux-devtools-duplicate-snapshot

Conversation

@V3RON
Copy link
Copy Markdown
Contributor

@V3RON V3RON commented May 26, 2026

Summary

  • Remove redundant request-state panel command on connect; start already enables monitoring and sends the initial lifted-state snapshot.
  • Document maxAge memory implications and Android OOM risk for large Redux stores in the plugin README and website docs.

Fixes #287 (partially — reduces peak memory on panel open; large stores may still need lower maxAge or stateSanitizer).

Test plan

  • pnpm --filter @rozenite/redux-devtools-plugin typecheck
  • pnpm --filter @rozenite/redux-devtools-plugin lint
  • pnpm exec vitest run --config packages/redux-devtools-plugin/vite.config.ts
  • Open Redux DevTools panel against playground and confirm state loads with a single snapshot
  • Verify multi-store playground still lists both instances after connect

Remove redundant request-state command on panel mount since start already
enables monitoring and sends the initial state. Document maxAge memory
usage and OOM risks on React Native.
@V3RON V3RON merged commit eb0ceae into main May 26, 2026
4 checks passed
@V3RON V3RON deleted the fix/redux-devtools-duplicate-snapshot branch May 26, 2026 11:26
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.

Android redux-devtools-plugin crashes

1 participant