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

Asking a question via the web client causes React Error 31 #7

Open
nebulatgs opened this issue Apr 28, 2022 · 0 comments
Open

Asking a question via the web client causes React Error 31 #7

nebulatgs opened this issue Apr 28, 2022 · 0 comments

Comments

@nebulatgs
Copy link

Asking a question occasionally causes the client to crash with

Objects are not valid as a React child (found: object with keys {errors, _message, name, message}). If you meant to render a collection of children, use an array instead.

and hog CPU and memory on the tab process, since it spams the browser console with thousands of errors.

The error is likely on this line, where the response is blindly cast to string, even though it is an object.

Resource hogging can be seen here:
image

where the tab is consuming over 100% CPU

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

1 participant