• python@lemmy.worldOP
    link
    fedilink
    arrow-up
    2
    ·
    14 days ago

    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

    • Victor@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      14 days ago

      😆 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. 👍