7
msdsk
126d

Turns out my colleagues don't understand how useMemo works. They would try to memoize a value and then, in the dependency array, use an object that gets rebuilt on every rerender.
Good job, guys. I wonder how many silent infinite loops we have because of that shit.

Comments
  • 1
    To be fair, all the stateful bullshit is awful design in React and Angular, especially react. That’s what you get for writing html in your JavaScript. Whoever thought that horseshit was a good idea.

    Blazor all the way baby!
Add Comment