-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Login page can explode #13557
Comments
This is new in 1.6 |
Possibly related to #11793 ? Same stacktrace, different area. Maybe React needs updating or we're doing something anti-patternish? |
This is possibly a case of us using Might be a race condition or some other environment-specific condition. |
Would be great to know the actual stack trace, but looks like we don't ship sourcemaps with /app. |
Isn't this what the new decoder ring is for? |
That decoder ring isn't shipped on /app, but it could maybe be convinced to work |
A few details I've noticed so far:
|
It's not clear what has changed that's suddenly made this a problem, but this is due to facebook/react#11538 (closed as unfixable) / https://bugs.chromium.org/p/chromium/issues/detail?id=872770 (open but they've essentially said it's React's problem). Options we have for fixing this:
In the course of writing this up I've switched between favouring all three solutions above. I think right now I'm on 1. since it's the closest to fixing the actual failed assumption in React that causes this. I'd be surprised if the perf hit was that much, and I would assume we could add a try/catch instead which may be less overhead (or not). |
Never mind: option 1. is terrible because it just doesn't remove the element, which means in this case you get another submit button each time you press it... Edit: that said, you can use:
...which seems to work fine. |
Hopefully all the info for this is in the comment. Fixes #13557
…Translate Google Translate manipulates the DOM which is fundamentally incomaptible with React and causes exceptions to be thrown when React tries to manipulate the DOM based on its VDOM and the DOM methods throw exceptions because the DOM structure is not what React thinks it is. Riot has an i18n system, although it doesn't cover all strings and all languages. Fixes #13557
For anyone who is curious: this got 26 rageshakes (for now). |
The text was updated successfully, but these errors were encountered: