• ______@lemm.ee
      ·
      11 months ago

      There many ways of doing things in react and some are faster than others. I would abuse state and use effect at my old job but at this job my sr dev doesn't allow me to use useffect unless the situation warrants it.

      • 摆 烂@lemm.ee
        hexagon
        ·
        11 months ago

        Ahh yes, abusing state can be temping. Just a little tweak here, it’s ok… no one is looking… oh crap!