Uncaught TypeError: Converting circular structure to JSON when redux-form
juanpasolano opened this issue · 6 comments
Hi thanks for the awesome project.
Just to report an issue when having redux-devtools and redux-form.
When you implement the simplest example in redux-form you get the error Uncaught TypeError: Converting circular structure to JSON
.
Probably you use persistState
, don't you? Does this happen without debug_session
set?
Can you please write the stack trace?
Actually, it's easy to reproduce, just by having circular references in states, which throughs in JSON.stringify
. Don't know about redux-form
, but I used to have this problem with redux-router, which uses circular references.
In chrome extension we use jsan
, which handle circular references, and as it tries first to do JSON.stringify
, there's no performance impact.
Will send a PR with tests in a couple of days.
Do you guys still need the stack trace?
Thanks for the cc. This is news to me. Yes, @juanpasolano, the stack trace would be nice.