Open tombogle opened 2 months ago
Finally discovered that the Psalms LBL freeze was happening essentially in this situation (these conditions are met in one function component):
useLocalizedStrings
is running with a non-memoized array (so the component re-renders very frequently) - this is the real problemA week and a half of dev time down the tubes because the problem looked like it was coming from code that looks fine. I think am going to look for a good time soon to create some kind of low-cost check on these "must be stable" parameters that will log a warning if one changes more than x times a second and possibly throws if one changes more than y times a second or something along these lines. At least it will be some kind of dumb check rather than silent self-DoS. I don't really know of a better solution yet, but hopefully we can come up with something eventually.
Describe the bug
An extension can display UI controls which cause Platform to hang. (Not sure of the specific details of what causes this, but it's consistent.)
To Reproduce
Expected behavior Ideally, of course, the selection would have the desired effect. But in any case, if the extension is not programed correctly, it would be really nice if the extension was unable to bring Platform to its knees. (MIght need to see what exactly is happening to see how feasible that would be.)