Oh I know where the violation is, but fixing it in the way my linter wants me too actually breaks a lot of things. I played fast and loose with my useEffect hooks, and now I'm paying the price π
Having completely fucked handmade code is still more fun than using AI tho, so I'm actually looking forward to untangling my mess
Btw, if you have a useEffect where you don't want to use all its dependent variables, you might be interested in using other built-in reactive hooks. I could hook you up if you're interested. π
6 Comments
WILSOOON@programming.dev · 23 pts · 103d
The pr reviewers have nightmares about
python@lemmy.world · 18 pts · 103d
no worries, I''m force pushing to main so there isn't any PR βΊοΈ
victorz@lemmy.world · 2 pts · 103d
I hope you fix that exhaustive-deps violation as well! Mustn't leave any deps unexhausted!!
python@lemmy.world · 1 pts · 102d
Oh I know where the violation is, but fixing it in the way my linter wants me too actually breaks a lot of things. I played fast and loose with my useEffect hooks, and now I'm paying the price π
Having completely fucked handmade code is still more fun than using AI tho, so I'm actually looking forward to untangling my mess
victorz@lemmy.world · 1 pts · 102d
π I hear that, I also enjoy fixing code.
Btw, if you have a useEffect where you don't want to use all its dependent variables, you might be interested in using other built-in reactive hooks. I could hook you up if you're interested. π
four@lemmy.zip · 8 pts · 103d