Skip to content

Commit

Permalink
Add polyfill for Symbol.asyncIterator (#1642)
Browse files Browse the repository at this point in the history
* Add polyfill for Symbol.asyncIterator

* Create tame-dancers-fail.md

* Format
  • Loading branch information
Methuselah96 authored Mar 28, 2024
1 parent 8f166ed commit 138f4f3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tame-dancers-fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@redux-devtools/remote': patch
---

Fix Hermes support by adding polyfill for Symbol.asyncIterator
3 changes: 3 additions & 0 deletions packages/redux-devtools-remote/src/devTools.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit 138f4f3

Please sign in to comment.