figstack icon indicating copy to clipboard operation
figstack copied to clipboard

Asking a question via the web client causes React Error 31

Open nebulatgs opened this issue 3 years ago • 0 comments

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

nebulatgs avatar Apr 28 '22 22:04 nebulatgs