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

[DOCS] Minified React error #185 #3421

Closed
nearwood opened this issue Jan 23, 2019 · 16 comments
Closed

[DOCS] Minified React error #185 #3421

nearwood opened this issue Jan 23, 2019 · 16 comments
Labels
docs Documentation related needs more info Issue requires more information from poster

Comments

@nearwood
Copy link

nearwood commented Jan 23, 2019

Windows 10 64
FF 64.0.2 (64-bit)

I keep running into into this on the current docs:

Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

The full message being:

Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.

I will attempt to note how to reproduce it later today, as it happens often.

@nearwood
Copy link
Author

Well, it failed to occur yesterday, but it did just now. I clicked this link https://react-bootstrap.netlify.com/components/forms/#form-row-props from within the Forms docs.

Got a full stack trace:

Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. 
Error: Script terminated by timeout at:
Sn@https://react-bootstrap.netlify.com/2-68b2153cc7f036eae14f.js:1:726504
An@https://react-bootstrap.netlify.com/2-68b2153cc7f036eae14f.js:1:726401
Mn</e.prototype.componentDidUpdate@https://react-bootstrap.netlify.com/2-68b2153cc7f036eae14f.js:1:730550
Aa@https://react-bootstrap.netlify.com/app-436a48db75de79f1b072.js:1:203493
Na@https://react-bootstrap.netlify.com/app-436a48db75de79f1b072.js:1:199152
ja@https://react-bootstrap.netlify.com/app-436a48db75de79f1b072.js:1:198497
Ea@https://react-bootstrap.netlify.com/app-436a48db75de79f1b072.js:1:197518
Zi@https://react-bootstrap.netlify.com/app-436a48db75de79f1b072.js:1:196421
enqueueSetState@https://react-bootstrap.netlify.com/app-436a48db75de79f1b072.js:1:161349
x.prototype.setState@https://react-bootstrap.netlify.com/app-436a48db75de79f1b072.js:1:80940
M</t.prototype.componentDidMount/t.unlisten</</<@https://react-bootstrap.netlify.com/app-436a48db75de79f1b072.js:1:18652

@nearwood
Copy link
Author

Also note: This kills the browser.

At least until the FF watchdog intervenes.

@wgarvey
Copy link

wgarvey commented Jan 28, 2019

@nearwood

"Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops."

Is setState() being called by componentDidUpdate()? Because componentDidUpdate() is called after each state change, this will cause an infinite loop until you run out of stack. This is likely the problem.

@taion
Copy link
Member

taion commented Feb 20, 2019

do you have a specific page in the docs that triggers this?

@nearwood
Copy link
Author

nearwood commented Feb 28, 2019

@taion It has happened on other pages than the one mentioned in my previous comment. I think it might be isolated to the API links, but can't confirm definitively.

@mxschmitt mxschmitt added docs Documentation related needs more info Issue requires more information from poster labels Mar 15, 2019
@mxschmitt
Copy link
Member

@nearwood is this issue still reproducible?

@nearwood
Copy link
Author

nearwood commented Mar 18, 2019

Yes, but not easily. I clicked around the docs for a while. Then left the Button page open for a while. Came back to it. Edited the example shown, then tried to click the ToggleButtonGroup API link:

image

image

Wondering if the inline editor has something to do with it -- I rarely use it, but can't discount it.

FF 65.0.2 (64-bit)

@oscles
Copy link

oscles commented Sep 25, 2019

I got the error when I implemented the redux-reset library, click on the logout button, and since the status, I have in redux is something big it sends me that error

@taion
Copy link
Member

taion commented Dec 28, 2019

We're going to need a more self-contained repro to do anything here. None of these components are doing much of anything that should cause this.

@shankarm123
Copy link

So above issue was solved with what change?

@kyletsang
Copy link
Member

This issue is pretty stale, and I haven't run into this, so will close it for now.

@rasel-xs
Copy link

rasel-xs commented Dec 28, 2021

I fetching the same issue when fullCalendar importing in WordPress plugin. see error https://prnt.sc/24wb1xu
and this my code https://prnt.sc/24wb6po
Can anyone help me how can i fix this error

@tsgeorgieva
Copy link

We're having the same issue and we don't even use componentWillUpdate or componentDidUpdate.

@MGParisi
Copy link

MGParisi commented Aug 9, 2023

Ours was related to the Ultimate Addons for Gutenberg Plugin

@denglad93
Copy link

Ours was related to the Ultimate Addons for Gutenberg Plugin

I've got the same for Gutenberg plugin, when i hover on the blocks (in the left bar), which was created with Carbon Fields WP plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation related needs more info Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests