diff --git a/.changeset/tame-dancers-fail.md b/.changeset/tame-dancers-fail.md new file mode 100644 index 00000000..b413d474 --- /dev/null +++ b/.changeset/tame-dancers-fail.md @@ -0,0 +1,5 @@ +--- +'@redux-devtools/remote': patch +--- + +Fix Hermes support by adding polyfill for Symbol.asyncIterator diff --git a/packages/redux-devtools-remote/src/devTools.ts b/packages/redux-devtools-remote/src/devTools.ts index b32ffbe5..dc7e4a9a 100644 --- a/packages/redux-devtools-remote/src/devTools.ts +++ b/packages/redux-devtools-remote/src/devTools.ts @@ -1,3 +1,6 @@ +(Symbol as any).asyncIterator = + Symbol.asyncIterator || Symbol.for('Symbol.asyncIterator'); + import { stringify, parse } from 'jsan'; import socketClusterClient, { AGClientSocket } from 'socketcluster-client'; import configureStore from './configureStore';