• @sfxrlz
    link
    84 months ago

    Maintaining old react apps that don’t use setState…

    this.state.temp = val;
    
    • @davidagain
      link
      34 months ago

      Meanwhile elm programmers: look what they have to do to mimic a fraction of our powers

      • @sfxrlz
        link
        34 months ago

        Thank you. Right now I’m upgrading our 5 year old react version while forking all unmaintained deps … fun

        • Mister Neon
          link
          24 months ago

          I lucked out, I’m on a two year project that just wrapped up and we skipped useMemo for the most part. Then it got announced that the new React version will depreciate that.

          Good luck dude.

          • @sfxrlz
            link
            2
            edit-2
            4 months ago

            There will be no wrapping up this project in the foreseeable future as it’s part of our main platform. I’m looking forward to moving from cra to vite and removing one ore more of the three css frameworks we are using. The App is also still incomplete as it’s replacing an ancient asp net project still partly in use … so it’s legacy hell over here. Also it’s all class components so … no useMemo atleast for now.

            Edit: thanks as well, appreciate it.