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

Redux-thunk causing infinite loop in React/Redux application #62

Closed
jbri7357 opened this issue Mar 22, 2016 · 4 comments
Closed

Redux-thunk causing infinite loop in React/Redux application #62

jbri7357 opened this issue Mar 22, 2016 · 4 comments

Comments

@jbri7357
Copy link

I'm working on a webapp that's utilizing React with Redux. I have posted a similar message at the redux-thunk Github, but I think this might possibly be a more general issue with Redux middleware. I am currently using Redux-Thunk in a manner very similar to the example found here:
http://redux.js.org/docs/advanced/ExampleRedditAPI.html

When running my app, I see the following error in Chrome:

Uncaught RangeError: Maximum call stack size exceeded
(anonymous function) @ index.js:10
dispatch @ applyMiddleware.js:44
(anonymous function) @ index.js:12
dispatch @ applyMiddleware.js:44
(anonymous function) @ index.js:12
dispatch @ applyMiddleware.js:44
(anonymous function) @ index.js:12
dispatch @ applyMiddleware.js:44

Here's a link to my project:
https://github.com/jbri7357/redux-sample-app

@bfink13
Copy link

bfink13 commented Mar 28, 2016

Can you post your index.js?

@jbri7357
Copy link
Author

I've attached my main.jsx (index.js) file as requested.

@jbri7357
Copy link
Author

I've updated my code samples after doing some refactoring and I still see the same issue.

@jbri7357
Copy link
Author

jbri7357 commented Apr 1, 2016

The problem has been located:

reduxjs/redux#1564

@jbri7357 jbri7357 closed this as completed Apr 1, 2016
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