Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught RangeError in state.ts #10

Open
Minimaximize opened this issue Jul 24, 2020 · 2 comments
Open

Uncaught RangeError in state.ts #10

Minimaximize opened this issue Jul 24, 2020 · 2 comments

Comments

@Minimaximize
Copy link
Contributor

Minimaximize commented Jul 24, 2020

**Version: ** 0.3.3
Occasionally, event-reduce will throw a RangeError when running getState

state.ts:43 Uncaught (in promise) RangeError: Maximum call stack size exceeded
    at eval (state.ts:43)
    at Array.forEach (<anonymous>)
    at getState (state.ts:43)
    at eval (state.ts:46)
    at Array.forEach (<anonymous>)
    at getState (state.ts:43)
    at eval (state.ts:46)
    at Array.forEach (<anonymous>)
    at getState (state.ts:43)
    at eval (state.ts:46)
@jordanhennell
Copy link
Contributor

jordanhennell commented Jul 24, 2020

This is when bundling event-reduce using webpack in 'development' mode. The issue goes away when in 'production' mode. Possibly webpack is to blame (webpack version 4.41.6).

@jordanhennell
Copy link
Contributor

The issue is only present when you enableDevTools.

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

No branches or pull requests

2 participants