psychedelicious

Results 411 comments of psychedelicious

Same thing with [E711](https://docs.astral.sh/ruff/rules/none-comparison/). Would be nice to have a brief mention in the rule's docs calling out common situations where this is unsafe and why

Our app (which includes a lot of HTML canvas drawing type stuff) rapidly updates state and sometimes those updates include a lot of nested state and decent sized arrays. `redux-persist`...

(This is adapted from this discord thread: https://discord.com/channels/102860784329052160/103538784460615680/1192629604284907651) ## Problem I've recently updated a project to RTK2. Everything seemed fine, but we started getting user reports of stutters and performance...

@aryaemami59 There's actually a separate issue I've not yet reported. `resultEqualityCheck` doesn't work at all with `weakMapMemoize`. edit: logged in #679, sorry I neglected to raise this when I first...

@aryaemami59 I must have missed that memo (heh). Thanks for pointing that out - I've used `state => state` as a convenient input selector for just about all of my...

Updates for my issue 1. @aryaemami59 very kindly gave me some pointers on our usage of `reselect` which I've implemented: - Do not use `state => state` as an input...

@bjmc No, I have not started on this and don't anticipate working on it myself any time soon. I've never used rust beyond hello world - `pydantic-core` is pretty scary...

Looking at the [validators](https://github.com/JohannesKlauss/react-hotkeys-hook/blob/main/src/validators.ts#L23-L33) and [where the validators are called](https://github.com/JohannesKlauss/react-hotkeys-hook/blob/main/src/useHotkeys.ts#L97-L101), I don't see any obvious issues. It looks like the behaviour should be the same, just based on that logic....

Thanks for the explanation. I should explain a bit more why this is a problem with a real-world example. Our project has some modal hotkeys and this behaviour interferes. For...