Skip to content

Commit 138f4f3

Browse files
authored
Add polyfill for Symbol.asyncIterator (#1642)
* Add polyfill for Symbol.asyncIterator * Create tame-dancers-fail.md * Format
1 parent 8f166ed commit 138f4f3

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.changeset/tame-dancers-fail.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@redux-devtools/remote': patch
3+
---
4+
5+
Fix Hermes support by adding polyfill for Symbol.asyncIterator

packages/redux-devtools-remote/src/devTools.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
(Symbol as any).asyncIterator =
2+
Symbol.asyncIterator || Symbol.for('Symbol.asyncIterator');
3+
14
import { stringify, parse } from 'jsan';
25
import socketClusterClient, { AGClientSocket } from 'socketcluster-client';
36
import configureStore from './configureStore';

0 commit comments

Comments
 (0)